File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting timeout in a web service based connection

 
A Dhawan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am facing an issue. I am calling a web service from a stub that has been provided by the web service publisher. Now the issue is that once a connection is established my thread waits for the response from the service and till the response is not received it doesn't timeout. I want to set timeout for this socket so that if response is not received in stipulated timeframe I should be able to go for further processing.
[Important is that I don't want that connection is terminated from my side but is still running from the client side]
I have seen in the stub source by decompining but I cannot find any setTimeout() method in the stub where it is being initialized.
Some queries :
1> Do we have certain steps to establish a connection with a web service that is common for all web services or this is different for all web services.
2> If this is different for all web services where can I find how the connection is established???

Thanks in advance for support.
 
A Dhawan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything on the above topic.....
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic