#42172 [Asn->Fbk]: Error fetching WSDL behind a proxy

From: Date: Wed, 08 Aug 2007 14:09:38 +0000
Subject: #42172 [Asn->Fbk]: Error fetching WSDL behind a proxy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-115892@lists.php.net to get a copy of this message
 ID:               42172
 Updated by:       dmitry@php.net
 Reported By:      heitor dot m at gmail dot com
-Status:           Assigned
+Status:           Feedback
 Bug Type:         SOAP related
 Operating System: Linux RedHat Enterprise V4
 PHP Version:      5.2.3
 Assigned To:      dmitry
 New Comment:

At first use numeric proxy-port number instead of string. ('8080' =>
8080).

At second, what kind of authentication your proxy server requires?
ext/soap supports only basic HTTP authentication (nor digest, neither
NTLM)


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

[2007-08-01 22:08:45] heitor dot m at gmail dot com

Description:
------------
I'm having the same problem related em the topic
http://bugs.php.net/bug.php?id=29211 with the
5.2.3.

I can't load WSDL through a proxy. 


I already take a lokk at the related bug reports. 

Reproduce code:
---------------
<?php


$client = new
    SoapClient(
       
"http://webservices.daelab.net/temperatureconversions/TemperatureConversions.wso?WSDL",

        array(
        	'proxy_host' => '**********',
        	'proxy_port' => '8080',
        	'proxy_login' => '***********',
        	'proxy_password' => '**********'
        	)
    );

print($client->__call('FahrenheitToCelcius', array(60)));

?> 

Expected result:
----------------
the integer from the conversion

Actual result:
--------------
Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from
'http://webservices.daelab.net/temperatureconversions/TemperatureConversions.wso?WSDL'
in /home/developers/heitor/ws/ibm/client2.php on line 13


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42172&edit=1


Thread (3 messages)

« previous php.bugs (#115892) next »