Hi Gary

Try the following to set the timeout:

MyServiceLocator serviceLocator = new MyServiceLocator();
MyPort port = serviceLocator.getPort(url);
org.apache.axis.client.Stub stub = (org.apache.axis.client.Stub ) port;
stub.setTimeout(<milli seconds>);

Try setting the value to something very small and watch the call timeout
straight away!



Jonathan Lowe




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data 
and other information are not warranted as to completeness or accuracy and 
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


Reply via email to