Thought I would contribute again to the mailing list :-).

 

Basically, the client itself has a timeout in the ServiceClient that you
need to set as well. In the Options of the ServiceClient, set this
property:

options.setTimeOutInMilliSeconds(60000);

 

(Or whichever value is applicable to you)

 

Roshan Punnoose

Phone: 301-497-6039

________________________________

From: Ashish Arya [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 6:49 AM
To: axis-user@ws.apache.org
Subject: Problem with request time out

 

Hi All,

 

I am facing problem related with 'AxisFault: Read Time out' in my web
service application.

 

In the application, I am doing some calculation on server side which may
take longer time. To accomplish this, I made following changes in
axis2.xml conf file.

 

<parameter name="requestTimeout">99999999999999999999</parameter>

 

But still noticed that the client is getting timed out exception.

 

Do I need to make any other change to avoid request time out?

 

Thanks and Regards,

 

Ashish

 

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to