in reply to Re: Using SOAP::Lite without a proxy
in thread Using SOAP::Lite without a proxy

Thanks for getting back to me.

I tried your sugestion, but I get the following error:

401 Access Denied

How can I pass credentials? I didn't see it in the documentation. In VB it would be...
ConnectorProperty("AuthUser") = "domain\username" ConnectorProperty("AuthPassword") = "Password"

Replies are listed 'Best First'.
Re: Re: Re: Using SOAP::Lite without a proxy
by jasonk (Parson) on Oct 31, 2003 at 01:44 UTC

    If the endpoint uses basic authentication then you have to override the get_basic_credentials method in SOAP::Transport::HTTP::Client...

    sub SOAP::Transport::HTTP::Client::get_basic_credentials { return('domain\username','Password'); }

    perl.com has a good SOAP::Lite tutorial which covers other kinds of authentication you might encounter on the endpoint.


    We're not surrounded, we're in a target-rich environment!