Hi, David:
    You can change the http-socket timeout value by set
    system property "http.socket.timeout", or define the property in 
nhttp.properties file(in classpath).  (this's http-core-nio libarary's 
requirment)

    End-point timeout will has no means if it is larger than 
http.socket.timeout.
   
    

----- Original Message ----- 
From: "Ruwan Linton" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 06, 2008 8:10 AM
Subject: Re: web service timeout


> OK David,
> 
> That provides enough information to guess that there is something wrong with
> Synapse or your configuration, :)
> 
> Can you please send me your configuration and the synapse log, so that I can
> have a look at what exactly went wrong?
> 
> Thanks,
> Ruwan
> 
> On Thu, Mar 6, 2008 at 5:17 AM, David Champagne <[EMAIL PROTECTED]>
> wrote:
> 
>> What's interesting is that if I bypass synapse and use just axis-2 with
>> the SimpleAxisServer, it works fine.  When I use the SimpleAxisServer
>> with axis-2 and synapse, the problem occurs.
>>
>> --- Ruwan Linton <[EMAIL PROTECTED]> wrote:
>>
>> > Hi David,
>> >
>> > I think the problem is the HTTP Socket timeout which is set to 60 Sec
>> > by
>> > default, and there fore the HTTP socket always times out after 60
>> > seconds :(
>> >
>> > You will need to increase the socket timeout, but AFAIK, it has to be
>> > done
>> > inside your client programmatically, even then I am not sure whether
>> > you can
>> > increase that value or not.
>> >
>> > Thanks,
>> > Ruwan
>> >
>> > On Wed, Mar 5, 2008 at 8:25 PM, David Champagne
>> > <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > > I am new to Apache Synapse, and I am having some difficulting in
>> > > telling synapse that I need to set the timeout for a response from
>> > one
>> > > of my web services to be more than the default of 60 seconds.  One
>> > of
>> > > my web services can take a couple of minutes before it returns a
>> > > response.  I have tried adding an <endpoint> element to my
>> > synapse.xml
>> > > file, but this had no effect (see below).  How can I configure
>> > this?
>> > >
>> > > <definitions xmlns="http://ws.apache.org/ns/synapse";>
>> > >  <endpoint name="TestService1">
>> > >  <address uri="http://localhost:9000/axis2/services/TestService1";>
>> > >   <timeout>
>> > >    <duration>100000</duration>
>> > >    <action>fault</action>
>> > >   </timeout>
>> > >  </address>
>> > >  </endpoint>
>> > > </definitions>
>> > >
>> > >
>> > >
>> > >
>> >
>>
>> ____________________________________________________________________________________
>> > > Be a better friend, newshound, and
>> > > know-it-all with Yahoo! Mobile.  Try it now.
>> > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>> > >
>> > >
>> >
>> >
>> > --
>> > Ruwan Linton
>> > http://www.wso2.org - "Oxygenating the Web Services Platform"
>> >
>>
>>
>>
>>
>>  
>> ____________________________________________________________________________________
>> Looking for last minute shopping deals?
>> Find them fast with Yahoo! Search.
>> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>>
> 
> 
> 
> -- 
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>

Reply via email to