|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-05-17 11:25 UTC] yozik04 at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 20:00:01 2025 UTC |
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}