Moxi Media Inc.
<GET-FEATURE> Tree View | Discussion Forum
IMF Developer's Guide » Map Configuration » <GET-FEATURE>  

The <GET-FEATURE> element defines....

Frequency Parent Elements (this element is valid within):
PRS1 <WFS-SERVICE>
   

Attributes Description
exception-format The exception format that is returned from the WFS service in the event of errors. The format must match one of the exception formats supported by the server, so check the capabilities response for valid values. Use format "application/vnd.ogc.se_xml" available. Required.
href The URL used for making WFS requests. The request arguments will be added to the value when making the requests, so only include the base URL as specified in the capabilities file. Note that if your URL contains ampersands, they must be escaped like "&amp;" in the XML. Required.
output-format The format of the XML data returned from the WFS service. The format must match one of the formats supported by the server, so check the capabilities response for valid values. If possible, use "GML2". Required.
parser

The XML GetFeature responses from different servers may be different. In order to handle the XML response from all WFS servers, a parser routine must be specified, and new parsing routines need to be created for non-compliant responses. The Java class name of the SAX parsing routine is entered here. Parsing classes exist for the following WFS server response formats: and formats:

com.moximedia.ows.xml.GetFeatureGML2

Support for other server types will be added by Moxi Media as they become available, or you can create your own parsing classes. Required.

request-method The HTTP communication type for the request, either "POST" or "GET". Optional, defaults to "POST".
   

Frequency Description (in this context)
PRS1 The <GET-FEATURE> element must appear exactly once in the <WFS-SERVICE> element in the specified sequence.
   

Example:

<GET-FEATURE
 output-format="GML2"
 request-method="POST"
 href="http://www.moximedia.com:8080/wfs/GetFeature?"
 parser="com.moximedia.ows.xml.GetFeatureGML2"/>

Valid HTML 4.01!