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); ...