From:             jiro at email dot it
Operating system: Windoews XP SP2
PHP version:      5.0.2
PHP Bug Type:     SOAP related
Bug description:  Soap array deserializer problem

Description:
------------
I'm using PHP 5.0.2 with SOAP extension.
I need to call a function with a array as input, and it doesn't serialize
-.-


Reproduce code:
---------------
$namespaces=array("rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#";,
"rdfs", "http://www.w3.org/2000/01/rdf-schema#","ns1";,
"http://purl.org/dc/elements/1.0/";, "ns2", "http://purl.org/dc/terms/";);  
                                   

$soap_client=new SoapClient(HOST_XIWA. 'QueryService?wsdl');
                      $response=$soap_client->queryCollection(XINDICE_COL,
$queryst, true, $namespaces);

Expected result:
----------------
$response is the result of the query. It goes with NUSOAP^^

Actual result:
--------------
Fatal error: Uncaught SoapFault exception: [soapenv:Server.userException]
org.xml.sax.SAXException: No deserializer defined for array type
{http://www.w3.org/2001/XMLSchema}string in D:\Tesi2004\tbl\search.php:115
Stack trace: #0 D:\Tesi2004\tbl\search.php(115):
SoapClient->queryCollection('queryCollection', Array) #1
D:\Tesi2004\tbl\search.php(97): stampa_commenti('tbl_comment',
'/rdf:RDF/rdf:De...', false, Array) #2 D:\Tesi2004\tbl\search.php(256):
stampa_un_libro('D:\Tesi2004\tbl\search.php on line 115

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

Reply via email to