0 Replies Latest reply on Oct 8, 2015 2:03 PM by Kamal Sharma

    WebService call from JBOSS 4 to Wildfly

    Kamal Sharma Newbie

      Hi,

       

      I having a problem and unable to find a single clue about this.

      We hare hitting a WebService hosted on Wildfly 9.0.1 from JBoss4 and we get the below exception. Any clue about this -

       

      Caused by: java.io.IOException: Could not transmit message

      at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:255)

      at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:73)

      at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:339)

      at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)

      ... 68 more

      Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Invalid HTTP server response [401] - Unauthorized. Response: Unauthorized/401.

      at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)

      at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137)

      at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)

      at org.jboss.remoting.Client.invoke(Client.java:1634)

      at org.jboss.remoting.Client.invoke(Client.java:548)

      at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:233)

      ... 71 more

      Caused by: org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized

      at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:77)

      at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:518)

      at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:307)

      ... 76 more


      Thank you guys...