#30165 [Opn->Asn]: SOAP FAULT upgrading from PEAR::SOAP to php5
ID: 30165
Updated by: dmitry@php.net
Reported By: s dot tabacchiera at gruppocsf dot com
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: Linux
PHP Version: 5.0.1
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2004-09-24 12:58:20] s dot tabacchiera at gruppocsf dot com
I think I found the bug.
In ext/soap/php_encoding.h there is a wrong define:
Bad:
#define WSDL_HTTP_TRANSPORT "http://schemas.xmlsoap.org/soap/http"
Good:
#define WSDL_HTTP_TRANSPORT "http://schemas.xmlsoap.org/soap/http/"
Diff is a missing trailing slash.
Hope this helps.
------------------------------------------------------------------------
[2004-09-21 10:58:08] ante dot dfg at moj dot net
Yes....I have the same problem...nothing related to SOAP works in php
5.0.1..I tried some examples from zend.com(for php5) and all the time
php 5.0.1 crasches with the Uncaught SoapFault exception..Im on WinXP
sp1, Apache 1.3.31, php 5.0.1
------------------------------------------------------------------------
[2004-09-20 12:51:55] s dot tabacchiera at gruppocsf dot com
Description:
------------
Hi all, my server is running php4 and PEAR::SOAP 0.8RC2, whilst client
is running php5.
This code generates an error:
---------
<?php
$wsdl1="http://blablabla.com/soap_server.php?wsdl";
$client1 = new SoapClient($wsdl1);
var_dump($client1->__getFunctions());
?>
--------
The error:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL:PHP-SOAP doesn't support transport
'http://schemas.xmlsoap.org/soap/http/'
in/root/soap.php:3
Stack trace:
#0 {main} thrown in /root/soap.php on line 3
Any clue?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30165&edit=1
Thread (5 messages)