note 90725 deleted from soapclient.soapclient by crell

From: Date: Mon, 04 Apr 2022 16:50:59 +0000
Subject: note 90725 deleted from soapclient.soapclient by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218088@lists.php.net to get a copy of this message
Note Submitter: Jon ---- We've had some problems using SoapClient connecting to an external server via Microsoft ISA (presently v.2006 but this may apply to other versions too). We supply the proxy_host, proxy_port, proxy_login and proxy_password but the ISA server reports the login in its logs as "anonymous". Our sysadmin believes this is because PHP is not supplying NTLN information (Windows security protocol) in the correct format (and whether it should work with proprietary proxies is of course another debate). We'd tried "username", "DOMAIN\username" to no effect. The solution is to add an exception in the ISA server for the target hostname/IP; null can then be supplied for proxy_login and proxy_password and the connection should then work as expected. On a slightly related note, if you are having problems make sure the port number is supplied as an integer. Some versions of PHP will not use the proxy with SoapClient if the port number is supplied as a string.

« previous php.notes (#218088) next »