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