2 Replies Latest reply on Aug 19, 2008 1:31 PM by jbossws_newbee

    Exception with WSClient

      Hello,

      I get the following exception when calling a WS with my client:

      FAILED: testCall
      javax.xml.ws.WebServiceException: java.lang.IllegalStateException: Could not setup remoting client
      at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:304)
      at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:242)
      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 $Proxy27.fetchToken(Unknown Source)
      at WsClientTest.testCall(WsClientTest.java:26)
      Caused by: java.lang.IllegalStateException: Could not setup remoting client
      at org.jboss.ws.core.client.RemotingConnectionImpl.createRemotingClient(RemotingConnectionImpl.java:240)
      at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:153)
      at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
      at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:322)
      at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:230)
      ... 26 more
      at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419)
      at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320)
      at org.jboss.remoting.Client.connect(Client.java:441)
      at org.jboss.ws.core.client.RemotingConnectionImpl.createRemotingClient(RemotingConnectionImpl.java:227)
      ... 30 more
      Caused by: java.lang.NullPointerException
      at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.createSocketFactory(HTTPSClientInvoker.java:144)
      at org.jboss.remoting.RemoteClientInvoker.(RemoteClientInvoker.java:46)
      at org.jboss.remoting.transport.http.HTTPClientInvoker.(HTTPClientInvoker.java:105)
      at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.(HTTPSClientInvoker.java:63)
      at org.jboss.remoting.transport.https.TransportClientFactory.createClientInvoker(TransportClientFactory.java:39)
      ... 38 more
      ... Removed 27 stack frames


      Do you know where it can come from ?

      Thanks a lot in advance