#30165 [Asn->Bgs]: SOAP FAULT upgrading from PEAR::SOAP to php5

From: Date: Tue, 05 Oct 2004 14:40:48 +0000
Subject: #30165 [Asn->Bgs]: SOAP FAULT upgrading from PEAR::SOAP to php5
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67145@lists.php.net to get a copy of this message
 ID:               30165
 Updated by:       dmitry@php.net
 Reported By:      s dot tabacchiera at gruppocsf dot com
-Status:           Assigned
+Status:           Bogus
 Bug Type:         SOAP related
 Operating System: Linux
 PHP Version:      5.0.1
 Assigned To:      dmitry
 New Comment:

Acording to WSDL 1.1 specification
(http://www.w3.org/TR/2001/NOTE-wsdl-20010315) the proper valu for HTTP
transport is "http://schemas.xmlsoap.org/soap/http".



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)

« previous php.bugs (#67145) next »