Java Mailing List Archive

http://www.java2.5341.com/

Home » axis-user.ws »

Configure Axis2 Client Timeout Descriptively

Jonathan Cornes

2008-10-02


Author LoginPost Reply
Hi,
 
I am trying to find a way to configure axis2 web server clients descriptively rather than programmatically using the Client API.
 
In particular I am trying to configure the length of time elapsed before the a timeout will occur during a call to the web service (resulting in a SocketTimeOut exception).
 
Can the following be done descriptively on the web server client in a wsdd or other configuration file?
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(soTimeout);
All help gratefully appreciated.
 
Kind regards
 
Jon
 


Try Facebook in Windows Live Messenger! Try it Now!
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.