Hi Alex,

Right now it's possible to use SOAP with proxy using special options in SoapClient constructor (http://www.php.net/manual/en/soapclient.soapclient.php)

new SoapClient($wsdl, array('proxy_host' => 'my.proxy.com',
                            'proxy_port' => '8080',
                            'proxy_login' => '********',
                            'proxy_password' => '********'));

But I understood, that you like to use default proxy values to avoid changes in third-party application. So I think the patch makes sense.

Stas, Ilia, any objections against committing it into 5.4 and 5.3?

Thanks. Dmitry.

On 01/10/2012 12:31 AM, Alex Samorukov wrote:
Hi Dmitry,

I created a small enchantment for the SOAP extension, could you please
take a look?

https://bugs.php.net/bug.php?id=60676

We have some clients in proxy enabled environments and its possible to
force proxy usage in curl or php streams, but not in SOAP. Proposed
patch adds new ini settings to resolve this. Please, tell if i need to
change anything in it.

Thank you.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to