#33522 [Opn->Asn]: Error sending array with SOAP-Client

From: Date: Thu, 07 Jul 2005 12:12:24 +0000
Subject: #33522 [Opn->Asn]: Error sending array with SOAP-Client
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-81524@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: Assigned Bug Type: SOAP related -Operating System: Debian 3.1 Sarge +Operating System: * -PHP Version: 5.0.4 +PHP Version: 5CVS-2005-07-07 -Assigned To: +Assigned To: dmitry Previous Comments: ------------------------------------------------------------------------ [2005-07-06 13:27:20] blendien at basis-audionet dot de The problem still exists with the latest CVS. I think it's a bug in the SOAP extension of PHP 5 ------------------------------------------------------------------------ [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

« previous php.bugs (#81524) next »