xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Nichol <snicholn...@scottnichol.com>
Subject Re: apacheSOAP & NuSOAP
Date Tue, 10 Sep 2002 04:44:54 GMT
There is no such thing as xsd:array.  In the element

    <return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:array[8]">

The arrayType should indicate the type of each array element, in this case,
the type of each <item>.

Scott Nichol

----- Original Message -----
From: "Guntur N. Sarwohadi" <guntur_52@ugm.ac.id>
To: <soap-user@xml.apache.org>
Sent: Monday, September 09, 2002 11:46 PM
Subject: apacheSOAP & NuSOAP


I am attempting to communicate an apacheSOAP SOAPclient with NuSOAP (PHP
backend) SOAPserver, but somehow the apacheSOAP keeps giving back a SOAP
Fault, something like:

Error SOAPException (SOAP-ENV:Client): No mapping found for
'http://www.w3.org/2001/XMLSchema:array' using encoding style

While the output of NuSOAP looks like:

<?xml version="1.0"?>
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:array[8]">
<title xsi:type="xsd:string">Techniques for the measurement of
transpiration of individual plants</title>
<imprint xsi:type="xsd:string">^aParis^bUnesco^c-1965</imprint>
<collation xsi:type="xsd:string">^ap. 211-224^billus.</collation>
<authors xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2]">
<item xsi:type="xsd:string">Magalhaes, A.C.</item>
<item xsi:type="xsd:string">Franco, C.M.</item>
<series xsi:type="xsd:string">Methodology of plant eco-physiology:
proceedings of the Montpellier Symposium</series>
<notes xsi:type="xsd:string">Incl. bibl.</notes>
<keywords xsi:type="xsd:string">Paper on: &amp;lt;plant
physiology&amp;gt;&amp;lt;plant transpiration&amp;gt;&amp;lt;measurement
and instruments&amp;gt;</keywords>
<item> ... (7 more alike the above here) </item>

is the problem generated by my Java SOAPclient or the PHP SOAPserver
needs to do something I should add to it?


To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>

To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>

View raw message