WebServiceAdapter2 Interface

Definition

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeWebServiceAdapterObject.

public interface class WebServiceAdapter2 : Microsoft::Office::Interop::InfoPath::WebServiceAdapter
[System.Runtime.InteropServices.Guid("096CD5D4-0786-11D1-95FA-0080C78EE3BB")]
public interface WebServiceAdapter2 : Microsoft.Office.Interop.InfoPath.WebServiceAdapter
type WebServiceAdapter2 = interface
    interface WebServiceAdapter
Public Interface WebServiceAdapter2
Implements WebServiceAdapter
Derived
Attributes
Implements

Properties

ErrorsLocation

Gets the XML Document Object Model (DOM) node under which the adapter will copy returned errors as XML.

Input

Gets or sets the XML string ('outer XML') corresponding to the input element in the form definition (.xsf) file.

Name

Gets the name of a WebServiceAdapterObject object.

Operation

Gets or sets the XML string ('outer XML') corresponding to the operation element contained in the form definition (.xsf) file for the WebServiceAdapterObject object.

OutputLocation

Gets the XML Document Object Model (DOM) node under which the adapter will copy the XML returned by the XML Web service.

QueryAllowed

Corresponds to the queryAllowed attribute in the form definition file (.xsf).

SubmitAllowed

Corresponds to the submitAllowed attribute in the form definition file (.xsf).

Timeout

Gets or sets the time-out value in seconds for a WebServiceAdapterObject object.

WSDLURL

Gets the Uniform Resource Locator (URL) of the Web Services Description Language (WSDL) file for the Web service associated with the WebServiceAdapterObject object.

Methods

GenerateDataSetDiffGram(IXMLDOMNode)

Gets a serialized ADO.NET DataSet, containing an inline schema describing the data and the DataSet's DiffGram.

Query()

Executes the query operation on the adapter, by invoking the specified Web method on the Web service, and inserting the returned XML under the dataFields node of the associated data source.

Submit()

Executes the submit operation on the associated adapter.

Applies to