Specifies a substring of the serviceUrl attribute of the webServiceAdapter element that can be replaced at run time by setting the dataConnectionBaseUrl property of an XmlFormView ASP.NET control hosting a Microsoft Office InfoPath form template.
Specifies whether change tracking is enabled for a main Web service query data connection that returns a DataSet. If set to "yes", InfoPath will track changes to the DataSet and submit the changes as a diffgram. This attribute must be set to "no" for browser-enabled form templates.
Specifies the name attribute of the webServiceAdapter element that this element extends.
Note This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
String
queryKey
xsd:string
Optional
Specifies a string value generated by InfoPath and maintained in the manifest.xsf file that dictates whether the data cached in the form template at design time is applicable for the current state of the data connection.
Note This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
String
queryFile
xsd:string
Optional
Specifies the name of an XML file included in the form template that contains the data cached at design time if the user selected the Store a copy of the data in the form template check box in the Data Connection Wizard. The data cached in the XML file will be used by InfoPath if the value generated for queryKey at run time matches the value stored at design time.
Note This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
String
Note
InfoPath uses the queryKey value for all data connections that cache the query data in the form template, not only parameterized secondary data connections. This is because the data connection properties can be changed by business logic code at run time. For example, a secondary ADO query connection's connection string can changed at run time, so the queryKey value is necessary to validate the applicability of the cached data. Similarly, the URL for a Web service or XML document query data connection can be changed from code at run time.
InfoPath adds the webServiceAdapterExtension element to the manifest.xsf file when a Web service data connection is defined using one or more of the following features:
The Store a copy of the data in the form template check box is selected in the Data Connection Wizard.
The data connection settings are specified from from a data connection file (.udcx) in a data conection library.
The DataSet change tracking options are set to settings other than the default option supported in Office InfoPath 2003.
The Web service query or submit operation specifies that InfoPath should look for the data connection file (.udcx) relative to the current site collection.
Note This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
Example
The following is an example of the webServiceAdapterExtension element.