wfs:TransactionResponse
The TransactionResponse element contains a report about the completion status of a Transaction operation.
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:TransactionResponseType
Properties: Global, Qualified
Content
- Sequence [1..1]
- wfs:TransactionSummary [1..1] The TransactionSummary element is used to summarize the number of feature instances affected by the transaction.
- wfs:TransactionResults [0..1] For systems that do not support atomic transactions, the TransactionResults element may be used to report exception codes and messages for all actions of a transaction that failed to execute successfully.
- wfs:InsertResults [1..1] A transaction is a collection of Insert,Update and Delete actions. The Update and Delete actions modify features that already exist. The Insert action, however, creates new features. The InsertResults element is used to report the identifiers of the newly created features.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
version | [1..1] | xsd:string | The version attribute contains the version of the request that generated this response. So a V1.1.0 transaction request generates a V1.1.0 transaction response. | Fixed value is "1.1.0". |
Sample instance
<wfs:TransactionResponse version="string"> <wfs:TransactionSummary> <wfs:totalInserted>1</wfs:totalInserted> <wfs:totalUpdated>1</wfs:totalUpdated> <wfs:totalDeleted>1</wfs:totalDeleted> </wfs:TransactionSummary> <wfs:TransactionResults> <wfs:Action locator="string"> <wfs:Message>string</wfs:Message> </wfs:Action> </wfs:TransactionResults> <wfs:InsertResults> <wfs:Feature> <ogc:FeatureId fid="ID"/> </wfs:Feature> </wfs:InsertResults> </wfs:TransactionResponse>