I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-06-23 22:35:33-07 by blogzen
Does SOAP::WSDL support cookie-jar?
Hi, Does SOAP::WSDL support cookie-jar? In SOAP::lite I can do:
# build a user agent $ua with cookie_jar # send a request to server to get a cookie new SOAP::Lite->proxy( "https://10.0.0.100", cookie_jar => $ua->cookie_jar())
Is there similar thing in SOAP::Lite? Thanks,
Direct Responses: 8132 | 8134 | Write a response
Posted on 2008-06-23 22:53:45-07 by blogzen in response to 8131
Re: Does SOAP::WSDL support cookie-jar?
Oops, I mean is there a similar thing in SOAP::WSDL? Thanks,
Direct Responses: Write a response
Posted on 2008-06-24 02:49:36-07 by noah in response to 8131
Re: Does SOAP::WSDL support cookie-jar?
Yep; syntax is pretty close to what you're used to:
use MyInterfaces::MyService::ServicePort; use HTTP::Cookies; # # I pass 'ignore_discard => 1' to new(), but you may not need to my $jar = HTTP::Cookies->new(); my $soap = MyInterfaces::MyService::ServicePort->new(); $soap->proxy("https://10.0.0.100/", cookie_jar => $jar); ...
--n
Direct Responses: 8150 | Write a response
Posted on 2008-06-24 16:24:06-07 by blogzen in response to 8134
Re: Does SOAP::WSDL support cookie-jar?
Yes, it works. Thank you!
Direct Responses: Write a response