From:             blendien at basis-audionet dot de
Operating system: Debian 3.1 Sarge
PHP version:      5.0.4
PHP Bug Type:     SOAP related
Bug description:  Error sending array with SOAP-Client

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 bug report at http://bugs.php.net/?id=33522&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33522&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33522&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33522&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33522&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33522&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33522&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33522&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33522&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33522&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33522&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33522&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33522&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33522&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33522&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33522&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33522&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33522&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33522&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33522&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33522&r=mysqlcfg

Reply via email to