Share via


3.1.4.1.2.4 dataRoot

dataRoot specifies the site that the protocol uses for processing queries. It is defined as follows.

 <s:element name="dataRoot">
     <s:complexType>
         <s:sequence>
             <s:element minOccurs="0" name="root" type="s:string"/>
         </s:sequence>
         <s:attribute default="true" name="allowRemoteDataAccess" type="s:boolean"/>
         <s:anyAttribute/>
     </s:complexType>
 </s:element>

allowRemoteDataAccess: MUST be ignored by the server, as well as any sub-elements of the element.

root: If the value is null or empty, the site URL MUST be the URL by which the service is invoked. For example, if the service is invoked through the site path "http://server/site/<service>", the URL to the site will be "http://server/site". If set, the value will be the complete path to a site to which the query is posted. For example, if the site is "http://server/site", and the client needs to post a query to this site, the value of the dataRoot element will be "http://server/site".