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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
44 + 17 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 18 16:01:29 2024 UTC