This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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);