|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesphp-soap-proxy-patch (last revision 2012-01-07 02:20 UTC by samm at os2 dot kiev dot ua)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-01-10 06:58 UTC] dmitry@php.net
-Assigned To:
+Assigned To: dmitry
[2013-03-10 03:24 UTC] Danack at basereality dot com
[2013-03-10 06:34 UTC] samm at os2 dot kiev dot ua
[2013-03-11 10:12 UTC] dmitry@php.net
[2013-03-11 10:49 UTC] samm at os2 dot kiev dot ua
[2015-04-06 20:52 UTC] dmitry@php.net
-Status: Assigned
+Status: Wont fix
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Description: ------------ I found that there is no way to change default SoapClient settings. I have a project installed in proxy environment and i want to avoid major code changes. Proposed changes will add 3 ini variables: 1) soap.proxy_host 2) soap.proxy_port 3) soap.proxy_login 4) soap.proxy_password If this settings are specified in ini (or using ini_set()) then SoapClient will use them by default. It is still possible to override them in the object parameters array. Test script: --------------- Any SoapClient call without parameters in the proxy-only network. Expected result: ---------------- After this patch and setting ini variables proxy will be used. This is example from my test machine: ini_set("soap.wsdl_cache_enabled", "0"); ini_set("soap.proxy_port", 3128); ini_set("soap.proxy_host", "127.0.0.1"); //ini_set("soap.proxy_login", "test"); //ini_set("soap.proxy_password", "test");