in reply to Re^2: pb with Soap::lite
in thread pb with Soap::lite

If you try to access the service using basic authentication, then you might try adding the code below to provide the auth info when requested.

... sub SOAP::Transport::HTTP::Client::get_basic_credentials { return 'username' => 'password'; } my $service = SOAP::Lite -> service('http://url.wsdl'); ...

Replies are listed 'Best First'.
Re^4: pb with Soap::lite
by manuds (Initiate) on Feb 21, 2008 at 17:31 UTC
    thanks but it still not work... i have ab authentification error... i try this :
    #!/usr/bin/perl use SOAP::Lite +trace; $login='log'; $passwd='passwd'; $domain='dom'; sub SOAP::Transport::HTTP::Client::get_basic_credentials { return $login => $passwd; } $tab = SOAP::Lite -> service('http://url.wsdl') ->getDomUsedQuota($domain); ...
    I've got an authentification error... I think it's almost this ...