WebServiceAdapter2.WSDLURL Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Uniform Resource Locator (URL) of the Web Services Description Language (WSDL) file for the Web service associated with the WebServiceAdapterObject object.
public:
property System::String ^ WSDLURL { System::String ^ get(); };
public string WSDLURL { get; }
member this.WSDLURL : string
Public ReadOnly Property WSDLURL As String
Property Value
Implements
Examples
In the following example, the WSDLURL property of the WebServiceAdapter object is used to display the URL of the WSDL file that is used for the Web service:
WebServiceAdapter2 wsAdapter2;
wsAdapter2 = (WebServiceAdapter2) thisXDocument.DataObjects["WebCityList"].QueryAdapter;
thisXDocument.UI.Alert("WSDL file URL: " + wsAdapter2.<span class="label">WSDLURL</span>);
Remarks
The WSDL file is an XML document that defines the format of messages 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 corresponds to the WSDL file location when using the Data Connection Wizard. The serviceUrl of the Operation property contains the URL that is used to invoke the Web service.