ID:               46760
 Updated by:       fel...@php.net
 Reported By:      iwan at iwex dot nl
-Status:           Open
+Status:           Closed
 Bug Type:         SOAP related
 Operating System: Linux (Unbuntu 8.10)
 PHP Version:      5.2.7
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in 5_2_9 (synced with 5_3)


Previous Comments:
------------------------------------------------------------------------

[2008-12-05 12:52:36] iwan at iwex dot nl

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 this bug report at http://bugs.php.net/?id=46760&edit=1

Reply via email to