ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guntur N. Sarwohadi" <guntur...@ugm.ac.id>
Subject RE: apacheSOAP & NuSOAP
Date Wed, 11 Sep 2002 07:56:12 GMT
Hi,...

In that case, if I set the <item> to <item xsi:type="xsd:array">, it
should work, shouldn't it? Because I've notice the output of a
successful SOAP-client/server using arrays and the return element had a
SOAP-ENC:arrayType="ns1:quotation[2]" attribut  and the item subelement
was something like: <item xsi:type="ns1:quotation">

Regards,
Guntur

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com] 
Sent: Tuesday, September 10, 2002 11:45 AM
To: soap-user@xml.apache.org
Subject: Re: apacheSOAP & NuSOAP

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


Hello..

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
'http://schemas.xmlsoap.org/soap/encoding/'.

While the output of NuSOAP looks like:

<?xml version="1.0"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:si="http://soapinterop.org/xsd">
<SOAP-ENV:Body>
<searchJTEResponse>
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:array[8]">
<item>
<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>
</authors>
<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>
<item> ... (7 more alike the above here) </item>
</return>
</searchJTEResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

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

Regards,
Guntur


--
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>


Mime
View raw message