Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
kalpana Kumar
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic