Plankton has asked for the wisdom of the Perl Monks concerning the following question:
in one sub routine it works fine and I can authenticate against the web service, but if I execute ...# setup the HTTP Basic Auth parameters BEGIN { sub SOAP::Transport::HTTP::Client::get_basic_credentials { ret +urn $user => $pass; }}
... in any other sub routine I get these error:# setup the HTTP Basic Auth parameters BEGIN { sub SOAP::Transport::HTTP::Client::get_basic_credentials { ret +urn $user => $pass; }}
.. what am I doing wrong? Thanksmy.pm [579] Fault ... syntax error at line 1, column 49, byte 49 at ... i686-linux/XML/Parse +r.pm line 185 Authorization Required This server could not verify that you are authorized to access the doc +ument requested. Either you supplied the wrong credentials (e.g., bad + password), or your browser doesn't understand how to supply the cred +entials required.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with using SOAP::Transport::HTTP::Client::get_basic_credentials
by Khen1950fx (Canon) on Apr 11, 2011 at 01:06 UTC |