in reply to Re: Sending HTTP credentials with SOAP
in thread Sending HTTP credentials with SOAP

While monkeypatching LWP works, I prefer to derive a class from LWP::UserAgent that implements get_basic_credentials so it's possible to have connections to more than one server and to avoid interference with other modules using LWP::UserAgent.

Replies are listed 'Best First'.
Re^3: Sending HTTP credentials with SOAP
by Anonymous Monk on Mar 17, 2010 at 09:13 UTC
    That is generally the way to do things, but author of wsdl2perl.pl is author of SOAP::WSDL, and my guess is he might know something we don't.
Re^3: Sending HTTP credentials with SOAP
by astroboy (Chaplain) on Mar 17, 2010 at 19:49 UTC
    Unfortunately, I don't think that helps me. The SOAP library would still call LWP, not my derived class.