#40448 [Fbk->Opn]: SOAP Server Extension - Fails with SOAP1.1 compliant envelope
| From: | dreddy at duke-energy dot com | Date: | Mon, 12 Feb 2007 15:02:26 +0000 |
| Subject: | #40448 [Fbk->Opn]: SOAP Server Extension - Fails with SOAP1.1 compliant envelope | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108741@lists.php.net to get a copy of this message | ||
ID: 40448
User updated by: dreddy at duke-energy dot com
Reported By: dreddy at duke-energy dot com
-Status: Feedback
+Status: Open
Bug Type: SOAP related
Operating System: AIX 5.3
PHP Version: 5.2.1
New Comment:
test
Previous Comments:
------------------------------------------------------------------------
[2007-02-12 14:52:15] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2007-02-12 14:43:13] dreddy at duke-energy dot com
Description:
------------
We are using PHP version 5.1.6 (not in the drop down for bugs)
Testing Flash8 Webservice Component connecting to a PHP5 SOAP Extension
soap server, and the Apache listener will generate an internal server
error (500).
Problem appears to be libsoap not handling what appears to be a valid
SOAP1.1 envelope, even if the the soap server is defined to be
SOAP1.1.
The workaround for us, is to use NuSoap, which is a SOAP 1.1
implementation.
Reproduce code:
---------------
The problem is the additional element on the BODY tab, legit in SOAP1.1
but not in SOAP1.2
<SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body
xmlns:ns1="urn
:myquote"><ns1:getQuote><symbol>ibm</symbol></ns1:getQuote></SOAP-ENV:Body></SOAP-ENV:Envelope>
See http://www.w3.org/TR/2003/REC-soap12-part0-20030624/#L4697
...and look for a section titled, "6. Changes Between SOAP 1.1 and SOAP
1.2"
The first item under additional or changed syntax:
SOAP 1.2 does not permit any element after the body. The SOAP 1.1
schema definition allowed for such a possibility, but the textual
description is silent about it.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40448&edit=1