wfs:Action
The Action element reports an exception code and exception message indicating why the corresponding action of a transaction request failed.
Element information
Namespace: http://niem.gov/niem/external/ogc-wfs/1.1.0/dhs-gmo/1.0.0
Schema document: external/ogc-wfs/1.1.0/dhs-gmo/1.0.0/wfs.xsd
Type: wfs:ActionType
Properties: Local, Qualified
Content
- wfs:Message [0..1] If an action fails, the message element may be used to supply an exception message.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
locator | [1..1] | xsd:string | The locator attribute is used to locate an action within a <Transaction> element. The value of the locator attribute is either a string that is equal to the value of the handle attribute specified on an <Insert>, <Update> or <Delete> action. If a value is not specified for the handle attribute then a WFS may employ some other means of locating the action. For example, the value of the locator attribute may be an integer indicating the order of the action (i.e. 1=First action, 2=Second action, etc.). | |
code | [0..1] | xsd:string | The code attribute may be used to specify an exception code indicating why an action failed. |
Used in
- Type wfs:TransactionResultsType (Element wfs:TransactionResults)
Sample instance
<wfs:Action locator="string"> <wfs:Message>string</wfs:Message> </wfs:Action>