Compartir a través de


WebServiceConnection.WsdlUrl Property

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

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property WsdlUrl As Uri
    Get
'Usage
Dim instance As WebServiceConnection
Dim value As Uri

value = instance.WsdlUrl
public abstract Uri WsdlUrl { get; }

Property Value

Type: System.Uri
The Uniform Resource Locator (URL) of the Web Services Description Language (WSDL) file for the Web service.

Remarks

The WSDL file is an XML document that defines the format of messages that an XML Web service understands. The service description serves as an agreement that defines the behavior of an XML Web service and instructs potential clients in how to interact with it. The behavior of an XML Web service is determined by messaging patterns that the service defines and supports. These patterns conceptually dictate what the service consumer can expect to happen when a properly formatted message is submitted to the XML Web service.

Note

The WsdlUrl property gets the WSDL file location that was defined when using the Data Connection Wizard in InfoPath. The ServiceUrl property gets or sets the URL that is used to invoke the Web service.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

See Also

Reference

WebServiceConnection Class

WebServiceConnection Members

Microsoft.Office.InfoPath Namespace