Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Consume ASMX web service with java JAX-WS  RSS feed

 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Everything used to be fine before we moved to different network.

Now:
This url works in the browser:
http://abc.def.com/dfg.asmx

But does not in the code.
I am defining Dispatch<SOAPMessage> dispatch
Then I do dispatch.invoke
Few days ago I used to get this:
INFO | jvm 1 | 2011/04/21 15:51:27 | ERROR [http-0.0.0.0-443-3] sdfsdfsdfsdf - Exception invoking web service
INFO | jvm 1 | 2011/04/21 15:51:27 | javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:210)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:160)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.client.Stub.process(Stub.java:222)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180)
INFO | jvm 1 | 2011/04/21 15:51:27 | at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)

And now I am getting the result without exception but inside the result I have this:
<Error>Unable to connect to the specified Host</Error>


Thanks.


 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!