Request 421 - WFS and the use of DescribeFeatureType in response XML documents
WFS and the use of DescribeFeatureType in response XML documents
Status: NEW

Standards Body: OGC
Classification: Unclassified
Standard: .New Requirement - A requirement is a request for an organization to add or support something that they do not already cover or support. These might be in the form of a new feature or a new standard. It might need to spawn an New Work Item (ISO), or new Standards Working Group (OGC).
unspecified
World
All

: --- editorial
Assigned To: OGC Tracker Admin


Depends on:
Blocks: ARRAY(0x63cb3e8)
  Show dependency treegraph
 
Reported: 2016-11-09 07:56:03 UTC by Andreas Matheus
Modified: 2024-06-04 19:43 UTC (History)
0 users





Attachments

Note You need to log in before you can comment on or make changes to this request.
Description Andreas Matheus 2016-11-09 07:56:03 UTC
The WFS response for a GetFeature operation is a FeatureCollection, which can be encoded in XML. For an XML encoded response, it is common practise that the WFS DescribeFeature operation is used to reference to the schema fragment that defines the features types included in the feature collection. As this schema portion is required to validate the XML document, it is problematic if the service endpoint is protected and so the DescribeFeatureType operation. In this case, it is recommended to use a URL that is fully comprised with security relevant information to enable the XML parser to gain access to the schema fragment. One approach could be to issue an OAuth access token with a short lifetime and attach that to the URL for obtaining the schema fragment that defines the involved feature types. In the case where the DescribeFeatureType operation is protected by HTTP Basic Authentication for example, the client implementation must add the proper user credentials with the request, which is difficult to implement in a safe way without exploiting the user credentials. Ergo, a non solution would be to create a DescribeFeatureType URL inside the FeatureCollection XML of the structure http://<user>:<password>&#64;<host>/DescribeFeatureType? ...