Hello Jonathan,

Thanks for the Info. That works like a charm. A big relief here.

Thanks for help.

Thanks and Regards,

===
Gary Grewal



|---------+---------------------------->
|         |           [EMAIL PROTECTED]|
|         |           chase.com        |
|         |                            |
|         |           05/28/2004 11:13 |
|         |           AM               |
|         |           Please respond to|
|         |           axis-user        |
|         |                            |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       [EMAIL PROTECTED]                                                  
                                    |
  |       cc:                                                                          
                                          |
  |       Subject:  Setting the Socket Timeout                                         
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|






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.









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