mrguy123 has asked for the wisdom of the Perl Monks concerning the following question:
$header is the name of the request header, which is then sent like this (with more info for the http transaction):$header->authorization_basic($uname,$passwd);
. 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?POST http://newscentre.aap.com.au/SRW/SRW.asmx Authorization: Basic dmljcGFybDJcbWV0YWxpYjo1bmV3c2NlbnRyZTM=
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Basic authentication in SOAP
by gellyfish (Monsignor) on Jul 20, 2006 at 12:46 UTC | |
by shonorio (Hermit) on Jul 20, 2006 at 12:54 UTC | |
by Hofmator (Curate) on Jul 20, 2006 at 12:58 UTC | |
by mrguy123 (Hermit) on Jul 20, 2006 at 12:55 UTC | |
by jhourcle (Prior) on Jul 20, 2006 at 13:01 UTC | |
by mrguy123 (Hermit) on Jul 20, 2006 at 13:16 UTC | |
by jhourcle (Prior) on Jul 20, 2006 at 14:26 UTC | |
| |
by mrguy123 (Hermit) on Jul 20, 2006 at 13:48 UTC | |
by Hofmator (Curate) on Jul 20, 2006 at 13:02 UTC |