Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!