title: Jboss Web Service:Error :java.io.IOException: Could not transmit message
body: <p>Hi I am trying to deploy a web service client application in Jboss 4.2.3GA. I already did this and it works in glassfish v2.x. I copied jboss-saaj.jar, jboss-jaxws-ext.jar, jboss-jaxws.jar, jboss-jaxrpc.jar and jaxb-api.jar. Can someone please shed some info?</p>
  
  <p>Also I deployed this in netbeans 6.7.</p>
  
  <pre><code># Caused by: java.io.IOException: Could not transmit message  
  # at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:204)  
  # at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)  
  # at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)  
  # at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)  
  # ... 4 more  
  # Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.  
  # at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:333)  
  # 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:1634)  
  # at org.jboss.remoting.Client.invoke(Client.java:548)  
  # at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:183)  
  # ... 7 more  
  # Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - Not Found  
  # at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:77)  
  # at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:473)  
  # at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:305)  
  # ... 12 more  
  </code></pre>
  
  <p>I tried with version 4.2.2 GA by copying jboss-saaj.jar and jboss-jaxrpc.jar to /lib/endorsement and it works. But I also tried with version 5.1.0GA and it didn't work there.</p>
  
  <p>To make things easy, here is what I would like help in. If anyone has deployed web services in jboss and had to copy jars to certain folders can you please let me know what you did? I would prefer if you used 4.3.3GA or 5.1.0GA. Thanks for reading.</p>