ID: 30352
User updated by: jiro at email dot it
Reported By: jiro at email dot it
Status: Open
Bug Type: SOAP related
-Operating System: Windoews XP SP2
+Operating System: Windows XP SP2
PHP Version: 5.0.2
New Comment:
I wrong to write the OS name
Previous Comments:
------------------------------------------------------------------------
[2004-10-07 16:20:32] jiro at email dot it
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 this bug report at http://bugs.php.net/?id=30352&edit=1