#49482 [Opn->Asn]: SOAP encoding although WSDL requires use='LITERAL'

From: Date: Mon, 07 Sep 2009 06:02:10 +0000
Subject: #49482 [Opn->Asn]: SOAP encoding although WSDL requires use='LITERAL'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142046@lists.php.net to get a copy of this message
ID: 49482 Updated by: dmitry@php.net 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

« previous php.bugs (#142046) next »