Hi,
I created the stubs classes of .net webservice using ant task:
org.jboss.wsf.spi.tools.ant.WSConsumeTask
But when I invoke the .net webservice I got:
javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit message
| 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:404)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
| at $Proxy15.getToken(Unknown Source)
| at teste.Teste.getXY(Teste.java:26)
| at teste.Teste.main(Teste.java:73)
| 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)
| ... 5 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.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:233)
| ... 8 more
| Caused by: org.jboss.ws.WSException: Invalid HTTP server response [501] - Not
Implemented
| at
org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:77)
| at
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:473)
| at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:305)
| ... 13 more
With the release jbossws 2.0.0.GA the calls are made successfully.
Please, help me.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144471#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...