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

The <WFS-SERVICE> element defines the communication protocols used to get data from a WFS server. Presently, IMF uses WFS services only to support extended querability for layers in a WMS service. Multiple <WFS-SERVICE> elements can be defined in the <SERVICES> section, each assigned a unique name that is referenced when associating WFS layers to WMS layers.

Frequency Parent Elements (this element is valid within):
POS+ <SERVICES>
   

Attributes Description
service-id A unique name that you assign to this WMS service that will be referenced in the wms-service-id attribute entries of <WMS-LAYER> elements in the Layers section. The value should start with a character, contain only alphabetic characters and numers, and no spaces. Required.
namespace Extra text submitted in the XML of WFS requests. For example, if your WFS needs a namespace in the request to be valid like xmlns:moxi="http://www.moximedia.com/moxi" you would enter namespace="xmlns:moxi="quot;http://www.moximedia.com/moxi"quot;". Optional.
schema Extra text submitted in the XML of WFS requests to specify schemas. Optional.
version The WMS version number for this service. The WMS version refers to the OGC specification that the server uses. Typical values are "1.0.0". This value should match the value reported from the WFS server in its capabilities response. Required.
   

Frequency Child Elements
RS1 <GET-FEATURE>
OS1 <DESCRIBE-FEATURE-TYPE>
OS1 <TRANSACTION>
   

Frequency Description (in this context)
POS+ The <WFS-SERVICE> element may appear zero or more times in the <SERVICES> element.
RS1 The <GET-FEATURE> element must appear exactly once in the specified sequence.
OS1 The child element is optional and may appear zero or one time in the specified sequence.
   

Example:

<WFS-SERVICE service-id="WFSDEMO" version="1.0.0" namespace="xmlns:moxi="http://www.moximedia.com/moxi"">
  <GET-FEATURE output-format="GML2"
               request-method="POST"
               href="http://www.moximedia.com:8080/wfs_wygisc/GetFeature?"
               parser="com.moximedia.ows.xml.GetFeatureGML2"/>
</WFS-SERVICE>

Valid HTML 4.01!