Copyright © 2002-2008 Open Geospatial Consortium, Inc. All Rights Reserved.
143
c
A Request Method Block must contain Request Version, which indicates the version of the Request that it supports.
d
A Request Method Block must contain Response Version, which indicates the version of the Response that the Client Application supports.
e
A Request Method Block must contain a maximum of one Sub-Block that contains the XML payload the request parameters for the specified method.
f
Each Request Method Block must have a Request Identifier. The Request Identifier is a string that must appear in the Method Request Tag as an ‘ID’
attribute. A Request Identifier must be unique within the scope of a session.
1.3.7 Response Requirements
The XML Response Packet must include at least two main Blocks, a Header Block and one or more Response Method Blocks:
1
Response Header Block
a
A Header Block may include the status of the Response use a standard list of enumerations for status -- TBD.
b
A Header Block should contain a Session Identifier, which corresponds with the applicable Request Session Identifier.
Note: The error list associated with the Header Block is for authentication errors and other errors generated for the envelop, whereas error lists associated with a Response Method Block are for individual responses.
2
Response Method Blocks
a
An XML Response must contain at least one Response Method Block.
b
The Response Method Block must contain zero or one Sub-Blocks that contain the XML payload for the specified method.
c
A Response Method Block must contain Response Version, which indicates the version used to encode the Response.
d
A Response Method Block may include the status of the Method Response use a standard list of enumerations for status -- TBD.
e
A Response Method Block may include zero or more Fault Error Elements, which indicate the error status use a standard enumerated list of errors -- TBD,
code and description generated during the scope of the session. [Note: Error handling is based upon the SOAP Fault Element.]