Loading ...
Sorry, an error occurred while loading the content.

Creating client SOAP request with complex structure

Expand Messages
  • B
    How do I create the filterEnvelope in the below client SOAP request (to a GLUE server):
    Message 1 of 1 , Sep 22, 2003
    • 0 Attachment
      How do I create the filterEnvelope in the below client SOAP request
      (to a GLUE server):

      <m:findPlace xmlns:m="PlaceFinder">
      <placeName xsi:type="xsd:string">Paris</placeName>
      <placeFinderOptions xsi:type="m0:PlaceFinderOptions">
      <dataSource xsi:type="xsd:string">ESRI.Gazetteer.World</dataSource>
      <filterEnvelope xsi:type="m1:Envelope">
      <minx xsi:type="xsd:double">-10.25</minx>
      <miny xsi:type="xsd:double">15.0</miny>
      <maxx xsi:type="xsd:double">50.10</maxx>
      <maxy xsi:type="xsd:double">60.0</maxy>
      <coordinateSystem xsi:type="m1:CoordinateSystem">
      <projection xsi:type="xsd:string">4326</projection>
      </coordinateSystem>
      </filterEnvelope>
      </placeFinderOptions>

      Without filterEnvelope it works with this code:
      my $optionRef = {dataSource => "ESRI.Gazetteer.World"};
      my $return = SOAP::Lite
      -> service("http://arcweb.esri.com/services/v2/PlaceFinder.wsdl")
      -> findPlace("Paris", $optionRef, "$token");

      But how do I add the filterEnvelope with minx etc?

      Advice and/or suggestions greatly appreciated,
      /hash-challenged
    Your message has been successfully submitted and would be delivered to recipients shortly.