From: loki_angel at mail dot ru
Operating system: Windows 2000
PHP version: 5.3CVS-2009-05-12 (snap)
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.
Reproduce code:
---------------
<?
$connection_array=array( "login" => 'login',
"password" =>
'pass',
'trace'=>1,
"exceptions" =>
0,
'proxy_host' =>
"proxy.net",
'proxy_port'=>
5190,
'proxy_login'=>
"proxy_login",
'proxy_password' => "proxy_pass");
$client = new SoapClient('http://server.com/class.wsdl',
$connection_array);
$client->__soapCall('method', array('var'));
Expected result:
----------------
SOAP-server response
Actual result:
--------------
<b>Fatal error</b>: Uncaught SoapFault exception: [HTTP] Unauthorized in
V:\home\site\www\class.php:13
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml
version="...', 'http://www.serv...', '', 1, 0)
#1 V:\home\photoscape.l\www\class.php(13):
SoapClient->__soapCall('method', Array)
#2 {main}
--
Edit bug report at http://bugs.php.net/?id=48244&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=48244&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=48244&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=48244&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=48244&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=48244&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=48244&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=48244&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=48244&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=48244&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=48244&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=48244&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=48244&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=48244&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=48244&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48244&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48244&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=48244&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=48244&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=48244&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=48244&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=48244&r=mysqlcfg