in reply to SOAP::Lite and web service with http basic auth
Taken from ~/.cpan/build/SOAP-Lite-0.69/examples/authentication.pl:
# OR if you have SOAP::Lite object you can do $s->transport->credentials('host_port', 'realm', 'user' => 'password') +; # see LWP::UserAgent for difference and more documentation # OR add user and password to your URL as follows: # proxy => 'http://user:password@localhost/'
HTH
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
|
|---|