2.2.2.2.27 relativeQuery

The relativeQuery element specifies a substring of the specified Web service URL that is replaced at run time by a different substring to create a new Web service URL. This element is used when hosting a form that is published to multiple site collections that have different absolute root URLs to the site collection, but the same relative paths to a Web service. The specified Web service URL substring MUST be replaced by the value specified by an implementation-specific ASP.NET control hosting the form.

Parent Elements

webServiceAdapterExtension

Attributes:

replace: This attribute specifies the substring of the Web service URL that is replaced at run time. The specified URL MUST be an absolute path and MUST NOT be a local or Universal Naming Convention (UNC) path. The specified URL MUST match the beginning of the value specified by the serviceUrl attribute of the operation element, as specified in section 2.2.1.2.22.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="relativeQuery">
   <xsd:complexType>
     <xsd:sequence/>
     <xsd:attribute name="replace" type="xsd:string" use="required"/>
   </xsd:complexType>
 </xsd:element>