This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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