aspose file tools*
The moose likes Web Services and the fly likes Need help in how to Set timeout in a webservice call- Using Axis SAAJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need help in how to Set timeout in a webservice call- Using Axis SAAJ" Watch "Need help in how to Set timeout in a webservice call- Using Axis SAAJ" New topic
Author

Need help in how to Set timeout in a webservice call- Using Axis SAAJ

kalpana Kumar
Ranch Hand

Joined: Jul 03, 2003
Posts: 65
Hi,

Code snippet is as below. I have to use JDK 1.4. I am using axis 1.4.

SOAPConnection connection = soapConnFactory.createConnection();

I would like to do is dynamically set the connection timeout. I read in forums that I can use SOAPConnectionImpl but tried doing the same but always ended in exceptions. Please provide your suggestions as to how this can be resolved.

Thanks in Advance for any suggestions.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help in how to Set timeout in a webservice call- Using Axis SAAJ