Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: SOAP::Lite and sessions?

by Anonymous Monk
on Apr 18, 2008 at 15:34 UTC ( #681535=note: print w/replies, xml ) Need Help??


in reply to Re: SOAP::Lite and sessions?
in thread SOAP::Lite and sessions?

Just a tip. If you do this, you won't have to call login 2x:
use SOAP::Lite; use HTTP:: Cookies; my $COOKIE = './coooooooooookie.txt'; my $SET_COOKIE = HTTP::Cookies->new(ignore_discard => 1, file=> $COOKIE, autosave=>1); my $soapLite = SOAP::Lite->new(); $soapLite->proxy($end_point, cookie_jar => $SET_COOKIE); $soapLite->uri($uri_slash_method); ...
I've had success putting that (plus other pertinent info) into a _call method, then constructing separate methods that are called through _call. Hope that helps.

Replies are listed 'Best First'.
Re^3: SOAP::Lite and sessions?
by polera (Initiate) on Apr 18, 2008 at 15:38 UTC
    Sorry, wasn't logged in. If anybody has any questions, that was my post above...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://681535]
help
Chatterbox?
[karlgoethebier]: no typo
[marioroy]: At the Fransiscan monastery, got stuck up high in a tree from pruning and the chainsaw with large branch fell and broke the latter, but not me fortunately. Was stuck there for a while until a firetruck came by.
[Corion]: marioroy: So you live dangerously ...
[Lady_Aleena]: s/latter/ladder/; # ? marioroy
[karlgoethebier]: marioroy: Praise the Lord
[marioroy]: Well, that's why there must be angels around, invisible or not.
[marioroy]: Lady_Aleena yes, ladder.
[marioroy]: Corion, no not intentionally. not at all.
[Lady_Aleena]: /ne tries to decide whther or not to take a hammer to hubby's alarm clock.
[Lady_Aleena]: He never hears it.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-05-29 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?