2.3.11 Query
A query or URL. MUST be one of the following:
If the value of the Type attribute of the Type element equals "Database", the value of the Query element MUST be a Structured Query Language (SQL) query that can access and retrieve data from the database specified in the ConnectionString element to the protocol server.
When the value of the Type attribute of the Type element equals "XmlQuery", the Query element MUST exist and its value MUST be a URL to an XML file stored on a Web server that can access and retrieve data from a Web server to the protocol server. The protocol server MUST support absolute URLs and SHOULD<3> support server-relative URLs for this value.
If the value of the Type attribute of the Type element equals "Rest", this element MUST exist and its value MUST be an absolute URL to a Representational State Transfer (REST) web service that can access and retrieve data from the web service to the protocol server.
Otherwise, this element MUST be ignored by the protocol server.
Parent Elements |
---|
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
-
<xsd:element name="Query" minOccurs="0" type="xsd:string"/>