0 Replies Latest reply on Feb 11, 2008 10:58 AM by Omar Bouchouicha

    communication problem between server and client

    Omar Bouchouicha Newbie

      Hi! Here is my situation:
      I am using JBoss developer studio.
      I have two projects.
      - A Web service server project (using JBoss 4.0)
      - A Web service client project (using JBoss 4.2)

      I get this error when executing :

      Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot obtain container from Dispatcher: jboss.j2ee:ear=Annuaire-ear.ear,jar=Annuaire-ejb.jar,name=Authentification,service=EJB3
       at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:70)
       at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
       at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:531)
       at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:356)
       at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:230)
       at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
       at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
       at $Proxy70.authenticate(Unknown Source)
       at bsa.admin.view.StartBean.login(StartBean.java:115)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
       ... 38 more
      


      When executing un debug mode, i located the problem in the invocation of the distant method "authenticate" (see error in red). But the code of the method is clean and doesn't seem to have problems.

      What could be the origin of this problem?
      I you need the source code tell me and i'll put it here for more details.