#33522 [Opn->Fbk]: Error sending array with SOAP-Client
| From: | sniper@php.net | Date: | Thu, 30 Jun 2005 14:22:46 +0000 |
| Subject: | #33522 [Opn->Fbk]: Error sending array with SOAP-Client | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81213@lists.php.net to get a copy of this message | ||
ID: 33522
Updated by: sniper@php.net
Reported By: blendien at basis-audionet dot de
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: Debian 3.1 Sarge
PHP Version: 5.0.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-06-30 15:17:14] blendien at basis-audionet dot de
Description:
------------
Hi,
we use php 5.0.4 with SOAP-Extension for Debian.
Now we have the following problem, I must send an array via SOAP to an
Axis-Engine and the Axis-Engine cannot understand the build xml.
So I get back this Message from Axis.
org.xml.sax.SAXException: No deserializer defined for array type
{http://www.w3.org/2001/XMLSchema}long
So we guess that php 5.0.4 makes anything wrong with the packing from
an array to SOAP. It's equal which type the Array has.
This artical is analog to http://bugs.php.net/bug.php?id=30352
Reproduce code:
---------------
$soap_client->call('deletePhonebookEntries',
array($id,$pwd,array(1,2,3)));
<wsdl:message name="deletePhonebookEntriesRequest">
<wsdl:part name="cust_id" type="xsd:long" />
<wsdl:part name="cust_password" type="xsd:string" />
<wsdl:part name="cust_phonebook_ids" type="impl:ArrayOf_xsd_long" />
</wsdl:message>
<wsdl:message name="deletePhonebookEntriesResponse">
<wsdl:part name="deletePhonebookEntriesReturn" type="xsd:long" />
</wsdl:message>
<wsdl:operation name="deletePhonebookEntries" parameterOrder="cust_id
cust_password cust_phonebook_ids">
<wsdl:input message="impl:deletePhonebookEntriesRequest"
name="deletePhonebookEntriesRequest" />
<wsdl:output message="impl:deletePhonebookEntriesResponse"
name="deletePhonebookEntriesResponse" />
<wsdl:fault message="impl:SystemFault" name="SystemFault" />
<wsdl:fault message="impl:ClientFault" name="ClientFault" />
</wsdl:operation>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33522&edit=1