Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
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.

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.

NoteNote

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.