php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42172 Error fetching WSDL behind a proxy
Submitted: 2007-08-01 22:08 UTC Modified: 2007-08-16 01:00 UTC
From: heitor dot m at gmail dot com Assigned: dmitry (profile)
Status: No Feedback Package: SOAP related
PHP Version: 5.2.3 OS: Linux RedHat Enterprise V4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: heitor dot m at gmail dot com
New email:
PHP Version: OS:

 

 [2007-08-01 22:08 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-08 14:09 UTC] dmitry@php.net
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)
 [2007-08-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC