PHP SOAP Extension Not Working
Bug #817034 reported by
Dave Coleman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Description:
------------
In Ubuntu 11.04 the current default PHP binary in the repository does not handle soap web services anymore.
PHP Version: (php --version)
------------
PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May 2 2011 23:00:17)
Test script:
---------------
$service = new SoapClient(
Expected result:
----------------
a correctly functioning SoapClient object
Actual result:
--------------
Exception: Error Fetching http headers
To post a comment you must log in.
Hi Dave, thanks for taking the time to file a bug report on this.
Marking as Medium importance, as this would affect only the SOAP module. However, I was unable to reproduce this using a clean 11.04 EC2 instance, installing with 'apt-get install php5-cli php-soap' ..
ubuntu@ ip-10-170- 102-176: ~$ php -r '$x = new SoapClient("http:// soap.amazon. com/schemas2/ AmazonWebServic es.wsdl");' ip-10-170- 102-176: ~$ php --version
ubuntu@
PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May 2 2011 23:00:17)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
I would guess that your problem was happening because of problems with the fetch, not necessarily with the soap module itself.
Can you attach your wsdl file and/or provide a public WSDL url that can be used to test this behavior? Also can you verify that you can connect to that url and fetch it from the same machine? Maybe try 'wget' or 'curl' from the cli?
Marking Incomplete pending response