WebServiceAdapter Object Members
InfoPath Developer Reference |
Represents a connection to an XML Web service. The WebServiceAdapter object is a type of InfoPath data adapter that contains all the information necessary for retrieving data from and submitting data to an external data source.
Methods
Name | Description | |
---|---|---|
GenerateDataSetDiffGram | Returns an XML DataSet, containing an inline schema describing the data and the DataSet's DiffGram. | |
Query | Reads data from the associated data adapter. | |
Submit | Executes the submit operation on the associated adapter. |
Properties
Name | Description | |
---|---|---|
ErrorsLocation | A read-only property that specifies the XML Document Object Model (DOM) node under which the adapter will copy returned errors as XML. Read-only | |
Input | Sets or retrieves a string value that contains the source XML of the input element contained in the form definition (.xsf) file. Read/write | |
Name | A read-only property that returns the name of a WebServiceAdapter object.Read-only | |
Operation | Sets or retrieves a string value that contains the source XML of the operation element contained in the form definition (.xsf) file. Read/write | |
OutputLocation | A read-only property that specifies the XML Document Object Model (DOM) node under which the adapter will copy the XML returned by the XML Web service. Read-only | |
QueryAllowed | A read-only property of type Boolean that corresponds to the queryallowed attribute in the form definition file (.xsf). The default value is False. Read-only | |
SubmitAllowed | A read-only property that returns a Boolean value corresponding to the submitAllowed attribute in the form definition file (.xsf). The default value is False. Read-only | |
Timeout | Sets or retrieves the long integer time-out value in seconds for a WebServiceAdapter object. Read/write | |
WSDLURL | A read-only property that returns a string value containing the Uniform Resource Locator (URL) of the Web Services Description Language (WSDL) file for the Web service associated with the WebServiceAdapter object. Read-only |