|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-15 23:23 UTC] cjbottaro at alumni dot cs dot utexas dot edu
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
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 )