Just a tip. If you do this, you won't have to call login 2x:
in reply to Re: SOAP::Lite and sessions?
in thread SOAP::Lite and sessions?
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.
use HTTP:: Cookies;
my $COOKIE = './coooooooooookie.txt';
my $SET_COOKIE = HTTP::Cookies->new(ignore_discard => 1,
my $soapLite = SOAP::Lite->new();
$soapLite->proxy($end_point, cookie_jar => $SET_COOKIE);