[jboss-user] Re: problem with calling ssl web service

samk at twinix.com samk at twinix.com
Mon Jun 15 11:30:26 EDT 2009


See Thread at: http://www.techienuggets.com/Detail?tx=17180 Posted on behalf of a User

did u solve this problem

In Response To: 

Hello all,
I've successfully deploy jboss web service using ssl. But when calling this ssl web service from standalone client, i got error at client side as follow:

Exception in thread "main" javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit message
  | 	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 $Proxy10.sslMethod(Unknown Source)
  | 	at jb.secure.ws.client.TestMain.main(TestMain.java:26)
  | Caused by: java.io.IOException: Could not transmit message
  | 	at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:192)
  | 	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)
  | 	... 4 more
  | Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
  | 	at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
  | 	at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
  | 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | 	at org.jboss.remoting.Client.invoke(Client.java:1550)
  | 	at org.jboss.remoting.Client.invoke(Client.java:530)
  | 	at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:171)
  | 	... 7 more
  | Caused by: org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized
  | 	at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:72)
  | 	at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:472)
  | 	at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:304)
  | 	... 12 more
  | 

what does it mean, and how to solve this? Please help me.
Thanks.





More information about the jboss-user mailing list