1 Reply Latest reply on Feb 13, 2007 8:03 AM by Dan Liu

    Can not set remoting client Marshaller when not connected?

    Dan Liu Apprentice

      I've followed this article to run my first ws test:
      http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/

      However, I keep getting this exception:

      javax.xml.soap.SOAPException: Could not setup remoting client
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:168)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
       at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
       at $Proxy0.sayHello(Unknown Source)
       at mypackage.WebServiceClient.main(WebServiceClient.java:22)
      Caused by: java.lang.RuntimeException: Can not set remoting client Marshaller when not connected.
       at org.jboss.remoting.Client.setMarshaller(Client.java:1343)
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:163)
       ... 5 more
      Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
       at $Proxy0.sayHello(Unknown Source)
       at mypackage.WebServiceClient.main(WebServiceClient.java:22)
      Caused by: java.rmi.RemoteException: Call invocation failed: Could not setup remoting client; nested exception is:
       javax.xml.soap.SOAPException: Could not setup remoting client
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
       at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
       ... 2 more
      Caused by: javax.xml.soap.SOAPException: Could not setup remoting client
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:168)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
       ... 4 more
      Caused by: java.lang.RuntimeException: Can not set remoting client Marshaller when not connected.
       at org.jboss.remoting.Client.setMarshaller(Client.java:1343)
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:163)
      


      Is there anything i'm missing?