You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jonathan Cornes <jj...@hotmail.com> on 2008/10/02 15:38:26 UTC

Configure Axis2 Client Timeout Descriptively

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
 
_________________________________________________________________
Make a mini you and download it into Windows Live Messenger
http://clk.atdmt.com/UKM/go/111354029/direct/01/