www.webdeveloper.com
Results 1 to 2 of 2

Thread: Help with abstract object syntax

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    3

    Question Help with abstract object syntax

    Hi,

    I am trying to do a SOAP call but I dont know how the XML I post needs to look for an abstract object. This is the schema for the abstract:


    HTML Code:
    <xs:complexType name="MapArea" abstract="true"><xs:annotation>
    <xs:documentation/>
    </xs:annotation><xs:sequence><xs:element minOccurs="0" name="Extent" type="Envelope"><xs:annotation>
    <xs:documentation>The geographic extent of the map.</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    And this is the schema for type envelope that I'm interested in:
    HTML Code:
    <xs:complexType name="EnvelopeN"><xs:annotation><xs:documentation>
    A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.
    </xs:documentation>
    </xs:annotation><xs:complexContent mixed="false"><xs:extension base="Envelope"><xs:sequence><xs:element name="XMin" type="xs:double"><xs:annotation>
    <xs:documentation>The position of the left side.</xs:documentation>
    </xs:annotation>
    </xs:element><xs:element name="YMin" type="xs:double"><xs:annotation>
    <xs:documentation>The position of the bottom.</xs:documentation>
    </xs:annotation>
    </xs:element><xs:element name="XMax" type="xs:double"><xs:annotation>
    <xs:documentation>The position of the right side.</xs:documentation>
    </xs:annotation>
    </xs:element><xs:element name="YMax" type="xs:double"><xs:annotation>
    <xs:documentation>The position of the top.</xs:documentation>
    </xs:annotation>
    </xs:element><xs:element minOccurs="0" name="ZMin" type="xs:double"><xs:annotation>
    <xs:documentation>The minimum Z value in the area of the envelope.</xs:documentation>
    </xs:annotation>
    </xs:element><xs:element minOccurs="0" name="ZMax" type="xs:double"><xs:annotation>
    <xs:documentation>The maximum Z value in the area of the envelope.</xs:documentation>
    </xs:annotation>
    </xs:element><xs:element minOccurs="0" name="MMin" type="xs:double"><xs:annotation><xs:documentation>
    The minimum measure value in the area of the envelope.
    </xs:documentation>
    </xs:annotation>
    </xs:element><xs:element minOccurs="0" name="MMax" type="xs:double"><xs:annotation><xs:documentation>
    The maximum measure value in the area of the envelope.
    </xs:documentation>
    </xs:annotation>
    </xs:element><xs:element minOccurs="0" name="SpatialReference" type="SpatialReference"><xs:annotation><xs:documentation>
    The spatial reference associated with this geometry.
    </xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    How would the xml look? What I tried is posting
    HTML Code:
    <MapArea>
    <Extent>
    <XMin>26.389286595046546</XMin>
    <YMin>-26.9687960840098</YMin>
    <XMax>30.134353404967854</XMax>
    <YMax>-25.0646439161136</YMax>
    </Extent>
    </MapArea>
    but its not happy with this.

  2. #2
    Join Date
    May 2007
    Posts
    288
    Don't see the definition of Envelope anywhere. Please post it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles