#32725 [Opn->Bgs]: SOAP response incorrectly parsed when complex types are used

From: Date: Fri, 15 Apr 2005 21:23:56 +0000
Subject: #32725 [Opn->Bgs]: SOAP response incorrectly parsed when complex types are used
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-77610@lists.php.net to get a copy of this message
ID: 32725 User updated by: cjbottaro at alumni dot cs dot utexas dot edu Reported By: cjbottaro at alumni dot cs dot utexas dot edu -Status: Open +Status: Bogus Bug Type: SOAP related Operating System: linux PHP Version: 5.0.4 New Comment: I am terribly sorry, please disregard this bug report. Previous Comments: ------------------------------------------------------------------------ [2005-04-15 22:47:14] cjbottaro at alumni dot cs dot utexas dot edu Description: ------------ The php parses a SOAP response with multiple parts, it ignores everything under a complex type. For example: <soap_listTasksResponse SOAP-ENC:root="1"> <task_ids SOAP-ENC:arrayType="xsd:int[20]" xsi:type="SOAP-ENC:Array"> <item>519</item> <item>536</item> </task_ids> <errcode xsi:type="xsd:int">0</errcode> <errmsg xsi:type="xsd:string">success</errmsg> </soap_listTasksResponse> php gets task_ids, but it doesn't get errcode and errmsg. Reproduce code: --------------- $proxy = SoapClient("..."); $rv = $proxy->myCall(); print_r($rv); Expected result: ---------------- Array ( [task_ids] => Array( [0] => 519 [1] => 536 ) [errcode] => 0 [errmsg] => success ) Actual result: -------------- Array ( [0] => 519 [1] => 536 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32725&edit=1

« previous php.bugs (#77610) next »