Dear Wise Monks
When I execute
# setup the HTTP Basic Auth parameters
BEGIN { sub SOAP::Transport::HTTP::Client::get_basic_credentials { ret
+urn $user => $pass; }}
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:
my.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.
.. what am I doing wrong?
Thanks