ID: 49482
Updated by: [email protected]
Reported By: joep at clickhere dot nl
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: Ubuntu
PHP Version: 5.2.10
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2009-09-06 10:29:52] joep at clickhere dot nl
Description:
------------
I was hunting a bug in our soap-client. 'xsi:type' appears in the xml,
even when the WSDL states 'use="literal"'.
Our client works fine with 5.2.4, but since 5.2.7/5.2.8 its broken
(Also tested 5.2.9)
Came across this fix in ext/soap/php_encoding.c
+ if (encode != enc && style == SOAP_LITERAL) {
add_type = 1;
- }
Shouldn't that be:
if (encode != enc && style == SOAP_ENCODED) {
add_type = 1;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49482&edit=1