Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

soaplite · SOAP::Lite for Perl (soaplite.com)

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1205
  • Category: Protocols
  • Founded: Jan 28, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Timeout Question   Topic List   < Prev Topic  |  Next Topic >
Summarize Messages Sort by Date  
#4446 From: "Dianne Van Dulken" <Dianne.VanDulken@...>
Date: Thu Mar 3, 2005 11:26 pm
Subject: Timeout Question
dogmac.rm
Send Email Send Email
 
Hi there,

I've just been looking through cpan, and I'm wondering if I am missing
something obvious.

I can't find anywhere in Soap::Lite where I can set a timeout variable.
I am calling a third party, and sometimes their responses are very slow.
I want to be able to set a maximum response time of 90 seconds (for
example), but can't work out exactly how to do it.

Has anyone done this, and if so, how do I do it?

Thanks

Di



#4447 From: jmzorko@...
Date: Thu Mar 3, 2005 11:32 pm
Subject: Re: Timeout Question
jmzorko
Send Email Send Email
 

Dianne,

> I can't find anywhere in Soap::Lite where I can set a timeout variable.
> I am calling a third party, and sometimes their responses are very
> slow.
> I want to be able to set a maximum response time of 90 seconds (for
> example), but can't work out exactly how to do it.
>
> Has anyone done this, and if so, how do I do it?

No worries, I ran into the same thing awhile ago. Here's how I did it:

SOAP::Lite->readable( 1 )->uri( "your_uri" )->proxy( "your_proxy",
timeout => 15 );

Hope this helps!

Regards,

John

Falling You - exploring the beauty of voice and sound
New album, "Touch", available now
http://www.magnatune.com/artists/falling_you














 
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help