File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis2 stub Client taking time to get response from a webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Axis2 stub Client taking time to get response from a webservice" Watch "Axis2 stub Client taking time to get response from a webservice" New topic
Author

Axis2 stub Client taking time to get response from a webservice

Mehul Wani
Greenhorn

Joined: Mar 18, 2008
Posts: 18
Hi All,

We are facing problem with Axis2 client. We are using xmlbeans axis2 stub and it is taking around 16 seconds to reach the request on server and approximately 46 seconds to get back the response after server sends back the data. Even if setting the timeout of 10 seconds, client is not getting timed out. The time out is set using following method of Axis2 stub:

stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(Long.parseLong(timeout));

Also, please note that web service needs authentication which is being done by setting some of the properties of stub.

Thanks.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Axis2 stub Client taking time to get response from a webservice
 
Similar Threads
JSP processing stopping in Weblogic server
JDBC to DB2 Mainframe - query timeout
Axis2 http Configuration problem
java.io.IOException: Server returned HTTP response code: 503 for URL while using AXIS2 API
Axis1.2RC2 - set timeout doubt