From: iwan at iwex dot nl Operating system: Linux (Unbuntu 8.10) PHP version: 5.2.7 PHP Bug Type: SOAP related Bug description: SoapClient doRequest fails when proxy is used
Description: ------------ When a proxy is used with the following code. The proxy is not used. Problem is in that the proxy_port is a string type. When the port is type casted to an int it will work. Reproduce code: --------------- $client = new SoapClient(null, array('proxy_host' => "localhost", 'proxy_port' => '8080', 'login' => "user", 'password' => "test", 'uri' => 'mo:http://www.w3.org/', 'location' => 'http://some.url')); echo $client->__doRequest('<?xml version="1.0" encoding="UTF-8"?>...etc', 'http://some.url', "add", '1.2'); Expected result: ---------------- That the proxy will receive the request. Actual result: -------------- The call is done without the use of the proxy. -- Edit bug report at http://bugs.php.net/?id=46760&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46760&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46760&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46760&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46760&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46760&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46760&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46760&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46760&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46760&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46760&r=support Expected behavior: http://bugs.php.net/fix.php?id=46760&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46760&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46760&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46760&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46760&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46760&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46760&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46760&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46760&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46760&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46760&r=mysqlcfg