ID:               33522
 User updated by:  blendien at basis-audionet dot de
 Reported By:      blendien at basis-audionet dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         SOAP related
 Operating System: Debian 3.1 Sarge
 PHP Version:      5.0.4
 New Comment:

The problem still exists with the latest CVS.

I think it's a bug in the SOAP extension of PHP 5


Previous Comments:
------------------------------------------------------------------------

[2005-06-30 16:22:45] [EMAIL PROTECTED]

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



------------------------------------------------------------------------

[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

Reply via email to