#30165 [Opn]: SOAP FAULT upgrading from PEAR::SOAP to php5
| From: | s dot tabacchiera at gruppocsf dot com | Date: | Fri, 24 Sep 2004 10:58:24 +0000 |
| Subject: | #30165 [Opn]: SOAP FAULT upgrading from PEAR::SOAP to php5 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66628@lists.php.net to get a copy of this message | ||
ID: 30165
User updated by: s dot tabacchiera at gruppocsf dot com
Reported By: s dot tabacchiera at gruppocsf dot com
Status: Open
Bug Type: SOAP related
Operating System: Linux
PHP Version: 5.0.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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