[jboss-user] [JBossWS] - Can not set remoting client Marshaller when not connected?

liudan2005 do-not-reply at jboss.com
Wed Feb 7 18:36:03 EST 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012708#4012708

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012708



More information about the jboss-user mailing list