編輯

共用方式為


WebServiceAdapter2.WSDLURL Property

Definition

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.

Applies to