wood burning stoves 2.0*
The moose likes Web Services and the fly likes soap:Fault - Operation Timed Out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "soap:Fault - Operation Timed Out" Watch "soap:Fault - Operation Timed Out" New topic
Author

soap:Fault - Operation Timed Out

Harpreet Hira
Ranch Hand

Joined: Sep 27, 2001
Posts: 72
I need to communicate with a third party webservice from whom I got the WSDL file. I used WSAD to generate client using this WSDL.
However, when I try to communicate with this webservice I get the following error.

<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Operation Timed Out</faultstring>
</soap:Fault>


I am not sure how to increase the time out value. It seems that the current (probably default) timeout value is 90 seconds.

I tried to increase the timeout using -
SOAPHTTPConnection soapHTTPConnection = new SOAPHTTPConnection();
soapHTTPConnection.setTimeout(300000);
msg.setSOAPTransport(soapHTTPConnection);

Unfortunately, this doesn't seem to help much.

Any ideas, how I can fix this problem?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
That may be the HTTP timeout, which is most likely different from the SOAP timeout. Check this recent thread for some hints.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: soap:Fault - Operation Timed Out
 
Similar Threads
web service exception handling..
how to return user defined faultcode
Getting "No Such Operation &apos" error
SOAP Exception : did not recognize the value of HTTP Header SOAPAction:
SOAPFault doubt