• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Axis2 stub Client taking time to get response from a webservice

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic