Results 1 to 2 of 2

Thread: Help with abstract object syntax

Hybrid View

  1. #1
    Join Date
    Apr 2009

    Question Help with abstract object syntax


    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:annotation><xs:sequence><xs:element minOccurs="0" name="Extent" type="Envelope"><xs:annotation>
    <xs:documentation>The geographic extent of the map.</xs:documentation>
    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: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:element><xs:element name="YMin" type="xs:double"><xs:annotation>
    <xs:documentation>The position of the bottom.</xs:documentation>
    </xs:element><xs:element name="XMax" type="xs:double"><xs:annotation>
    <xs:documentation>The position of the right side.</xs:documentation>
    </xs:element><xs:element name="YMax" type="xs:double"><xs:annotation>
    <xs:documentation>The position of the top.</xs:documentation>
    </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: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: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: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:element><xs:element minOccurs="0" name="SpatialReference" type="SpatialReference"><xs:annotation><xs:documentation>
    The spatial reference associated with this geometry.
    How would the xml look? What I tried is posting
    HTML Code:
    but its not happy with this.

  2. #2
    Join Date
    May 2007
    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