logo       

Re: htaccess login credentials: msg#00128

php.nusoap.general

Subject: Re: htaccess login credentials

You are correct. The WSDL URL needs to include the authentication information,
such as

$url = 'http://user:pass@soaphost/soappath/whatever';

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Jan Horsman" <jan@xxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 25, 2004 9:26 AM
Subject: [Nusoap-general] htaccess login credentials


> Hi,
>
> I am using Nusoap to write a Soap client for a dutch webservice.
>
> The webservice is secured with htaccess The soapclient->setCredentials
> method is suitable for handling this when calling the webservice. When I
> use a WSDL document however ( /$soapclient = new soapclient($wsdl,
> true)/ ) the Nusoap client object does not use the login credentials
> when retrieving the wsdl document. The WSDL document has the same login
> credentials as the webservice.
>
> I believe the wsdl document is retrieved when the soapclient object is
> created, at that point the soap object isn't aware of the login credentials.
>
> What is a good workaround for this situtaion?
>
> Thanks!
>
> Jan Horsman
> Almere - The Netherlands
>
>


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise