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

Reply via email to