• Post Reply Bookmark Topic Watch Topic
  • New Topic

org.apache.axis2.AxisFault: Read timed out

 
vittal mareddy
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have web service client generated from wsdl2jave of axis2-1.4.1, we are getting an error on calling webservice operation, i have manually set timeout at one of the operation invocation, that looks fine , but we have call so many places, do i need to set time every place.
I am not sure code i have to set time is correct, please advice how to over come the issue, web service has been deployed on WAS.

here is the code added to set timeout


Here is error stack trace

 
Vijitha Kumara
Bartender
Posts: 3952
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to set the value if you expect more than the default. You can read more on the same in here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!