Welcome to the Monastery | |
PerlMonks |
Basic authentication in SOAPby mrguy123 (Hermit) |
on Jul 20, 2006 at 12:39 UTC ( [id://562562]=perlquestion: print w/replies, xml ) | Need Help?? |
mrguy123 has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks, I am trying to retrieve a web page that uses basic authentication with the SOAP::Lite module. I have been able to retrive this page with the LWP::UserAgent, using this code to take care of authentication: $header is the name of the request header, which is then sent like this (with more info for the http transaction): . I now want to do the same using SOAP::Lite. I read in the module documentation that SOAP::Lite supports basic authentication, but didn't find any other info about how to send the username and password. I can send info in the SOAP header, but I don't know how it can be done in the request header. Does anybody have any ideas? Thanks, Guy I think that I shall never see a billboard lovely as a tree. Indeed, unless the billboards fall I'll never see a tree at all. -- Ogden Nash
Back to
Seekers of Perl Wisdom
|
|