Return-Path: Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: (qmail 93891 invoked from network); 31 Mar 2010 23:07:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Mar 2010 23:07:08 -0000 Received: (qmail 9897 invoked by uid 500); 31 Mar 2010 23:07:08 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 9834 invoked by uid 500); 31 Mar 2010 23:07:08 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 9826 invoked by uid 99); 31 Mar 2010 23:07:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 23:07:08 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_FONT_FACE_BAD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of samisa.abeysinghe@gmail.com designates 74.125.83.45 as permitted sender) Received: from [74.125.83.45] (HELO mail-gw0-f45.google.com) (74.125.83.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 23:07:04 +0000 Received: by gwaa20 with SMTP id a20so353512gwa.32 for ; Wed, 31 Mar 2010 16:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=wAlp3YiZr9O0TekUvi0s9PqP5WpysueLUI/IeKT48KU=; b=pDL4tRd4VtQnsRr+1zqGNQmFWOPAPMOoCyVxvOS9S/Q7wK9nwt/SOVdGe9XXl0ZT22 Ajxe/55l9WpY5JJ1kxxfUhR7fSKVB4f82H6ownoGp7FrLMa8aN6lCVyRev11x5WQzU52 XhOvFQ61e4VAIPs9mN9VMdURJBq6CJVVZwslA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qkuqnqDALcveUrwlA1hne+Hs2gz8o+Y8zCrR2N3FqY/sKWMSBimrqkm5+/dDbI3jNi xZrNYWUR5vne21hrjO82Gf4hbz2RNt0qRn7rQymnLJnNAMHW+UtK3YrdJmd/bks0FpAm y++JCHeNbsJ5bMhP1I0BxkW5UnLuMuxtBLBT0= MIME-Version: 1.0 Received: by 10.231.153.137 with HTTP; Wed, 31 Mar 2010 16:06:43 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Apr 2010 04:36:43 +0530 Received: by 10.151.20.4 with SMTP id x4mr334878ybi.349.1270076803093; Wed, 31 Mar 2010 16:06:43 -0700 (PDT) Message-ID: Subject: Re: How to set the Axis2c Client timeout value From: Samisa Abeysinghe To: Apache AXIS C User List Content-Type: multipart/alternative; boundary=000e0cd4b2a4af9816048320ccb5 --000e0cd4b2a4af9816048320ccb5 Content-Type: text/plain; charset=ISO-8859-1 axis2_options_set_timeout_in_milli_seconds See: http://wso2.org/forum/thread/5356 * Samisa... * On Thu, Apr 1, 2010 at 3:50 AM, Fan, Jan-fon wrote: > Hi, > > Is there a way to set the client timeout value? > > The web service that I invoke will take very long time to process, by the > time the server returns, my client program already timeout. > > I tried to modify the file include/axis2_options.h > > Change from > > #define AXIS2_DEFAULT_TIMEOUT_MILLISECONDS 30000 > > to > > #define AXIS2_DEFAULT_TIMEOUT_MILLISECONDS 180000 > > > > And hope this will increase the time out from 30 seconds to 180 seconds, > but it is not helpful. > > > > > > I also tried to modify the axis2.xml by adding a parameter: > > 180000 > > But this also does not help. > > > > > > Thanks, > > Jan-fon > > > -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://wso2.com/ - "lean . enterprise . middleware" --000e0cd4b2a4af9816048320ccb5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable axis2_options_set_timeout_in_milli_seconds=


Samisa...

On Thu, Apr 1, 2010 at 3:5= 0 AM, Fan, Jan-fon <jan-fon.fan@intel.com> wrote:

Hi,

Is there a way to set the client timeout val= ue?

The web service that I invoke will take very= long time to process, by the time the server returns, my client program already timeout.=

I tried to modify the file include/axis2_opt= ions.h

Change from

#define AXIS2_DEFAULT_TIMEOUT_MILLISECONDS 3= 0000

to

#define AXIS2_DEFAULT_TIMEOUT_MILLISECONDS 1= 80000

=A0

And hope this will increase the time out fro= m 30 seconds to 180 seconds, but it is not helpful.

=A0

=A0

I also tried to modify the axis2.xml by addi= ng a parameter:

<parameter name=3D"CONNECTION_TIMEOUT" locked=3D&=
quot;false">180000</parameter>
But this also does not help.

=A0

=A0

Thanks,

Jan-fon

=A0

--=A0
Samisa Abeysinghe=A0
Director, Engine= ering - WSO2 Inc.

http://wso2.com/ = - "lean . enterprise . middleware"


--000e0cd4b2a4af9816048320ccb5--