views:

685

answers:

1

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?

Also I deployed this in netbeans 6.7.

# 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  

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.

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.

A: 

It appears the URL you have specified for your web service is incorrect and the server where it is deployed returns 404 - Not Found.

  1. Check your URL
  2. If it is ok, and the server where the web-service is deployed is yours as well, check the log message there.
Bozho
Just a quick question? Have you deployed web service in Jboss any version? I want to know if you had to make any change?
Tesnep
I haven't. But the error is pretty generic so I'm able to infer a bit of the problem.
Bozho