Re: WSDL and Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 20 Jun 2006 08:06:57 -0700, Vandegrift, Ken wrote:

> I keep getting the HTTP/1.1 401 Unauthorized...
>  
> Any help would be greatly appreciated.
>  
You are properly facing this bug also:
http://bugs.php.net/bug.php?id=27777

AFAIK the problem is coursed by the SOAP client not using the credentials
when fetching the WSDL in which case the username and password but be
provided as part of the url to the WSDL.

$client = new SoapClient(http://userid:pwd@tld/path/to/file.wsdl
<http://path/to/file.wsdl> , array("login" => "userid", "password" =>
"pwd");

-- 
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux