Re: callin a function from a webservice

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

 



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.

-- 
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