• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

soap:Fault - Operation Timed Out

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That may be the HTTP timeout, which is most likely different from the SOAP timeout. Check this recent thread for some hints.
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic