Re: [SOAP] callin a function from a webservice
| From: | johnhitashi | Date: | Thu, 20 Sep 2007 07:04:03 +0000 |
| Subject: | Re: [SOAP] callin a function from a webservice | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2644@lists.php.net to get a copy of this message | ||
Thanks for replying. I have written the php code on Linux machine and trying
to access the webservices which is running windows on a virtual machine.I
changed the authentication to Basic but still i am getting the same error.
Please help me out of this.
ammarmar wrote:
>
>> I am using PHP5 to talk my .net webservice.when i make a call to a
>
> ...
>
>> "HTTP unthorised error".
>
> I think that "unauthorized" is pretty straightforward. You need some kind
> of authorization, e.g. login, password, certificate or other.
>
> But be aware that .NET web services have a nasty habit of requiring NTLM
> authentication which is a b*tch, because PHP SOAP (and many other SOAP
> clients) does not support it (it is a dedicated MS auth type, used in IIS
> and generally in Windows environment).
>
> It can be changed to "standard" HTTP authentication (e.g. basic or digest)
> in IIS web server config, but don't ask me how to do it :-)
>
> Oh, and passing login/password to PHP SOAP client is quite easy - look
> after it in PHP manual under SOAPClient_construct.
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
View this message in context: http://www.nabble.com/callin-a-function-form-a-webservice-tf4472443.html#a12791931
Sent from the Php - Soap mailing list archive at Nabble.com.