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
