Recieving complex classes in soap Opera

Manu Chhabra chhabra at ipsi.fraunhofer.de
Thu Jul 11 14:54:39 UTC 2002


Hi.
this is the exact message that the soap server returned.
sincerely
Manu chhabra
---
encodingStyleURIs:  nil
encoder:  nil
parent:  nil
targetObjectURI:  nil
methodName:  nil
parameters:  nil
optionSignature:  nil
optionHeaderProperties:  nil
transport:  nil
envelope:  <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns6="http://www.themindelectric.com/package/com.esri.is.services.commo
n.v1.geom/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns5="http://www.themindelectric.com/package/com.esri.is.services.commo
n/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <soap:Body>
  <n:findPlaceResponse
xmlns:n="http://www.geographynetwork.com/PlaceFinder">
   <Result href="&#35;id0"></Result>
  </n:findPlaceResponse>
  <id0 id="id0" xsi:type="ns5:LocationInfo" soapenc:root="0">
   <matchType xsi:type="xsd:string">EXACT</matchType>
   <candidates href="&#35;id1"></candidates>
  </id0>
  <id1 id="id1" xsi:type="soapenc:Array" soapenc:arrayType="ns5:Location[1]"
soapenc:root="0">
   <i href="&#35;id2"></i>
  </id1>
  <id2 id="id2" xsi:type="ns5:Location" soapenc:root="0">
   <x xsi:type="xsd:double">80.5</x>
   <y xsi:type="xsd:double">26.5333328</y>
   <description1 xsi:type="xsd:string">Unn&#195;&#165;o&#44;
India</description1>
   <description2 xsi:type="xsd:string">Unn&#195;&#165;o</description2>
   <score xsi:type="xsd:double">9.0</score>
   <type xsi:type="xsd:string">I</type>
   <envelope href="&#35;id3"></envelope>
  </id2>
  <id3 id="id3" xsi:type="ns6:Envelope" soapenc:root="0">
   <minx xsi:type="xsd:double">80.425</minx>
   <miny xsi:type="xsd:double">26.4583328</miny>
   <maxx xsi:type="xsd:double">80.575</maxx>
   <maxy xsi:type="xsd:double">26.6083328</maxy>
  </id3>
 </soap:Body>
</soap:Envelope>

context:  a SoapContext{}
namespace:  nil
prefix:  nil
returnValue:  nil
outparameters:  nil
fault:  nil
exceptionBuilder:  nil

----- Original Message -----
From: "Masashi Umezawa" <umejava at mars.dti.ne.jp>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Thursday, July 11, 2002 4:38 PM
Subject: Re: Recieving complex classes in soap Opera


> Hi,
>
> >The returned message contained a class type Location
> >Location{
> >double x;
> >double y;
> >String des1;
> >String des2;
> >Envelope envl;
> >}
> >
> >The soap message I recieve from the server is correct but the returnValue
> of the message is nil.
> >is it due to the fact that soapOpera presently does not support complex
> types?.
> >Is there way out to recieve the message as a Location class.
>
> SoapOpera does support complex types. GoogleClient uses this feature.
> But I have noticed that Array Encoding has some bugs. Your problem may be
> related to them.
> Anyway, I'll fix them in the next release.
>
> ---
> [:masashi | ^umezawa]
>
>
>
>




More information about the Squeak-dev mailing list