PHP SOAP Extension Not Working

Bug #817034 reported by Dave Coleman
8
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($wsdl_url);

Expected result:
----------------
a correctly functioning SoapClient object

Actual result:
--------------
Exception: Error Fetching http headers

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

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/AmazonWebServices.wsdl");'
ubuntu@ip-10-170-102-176:~$ php --version
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

Changed in php5 (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for php5 (Ubuntu) because there has been no activity for 60 days.]

Changed in php5 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.