RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapConnection.URL Property

Specifies the Uniform Resource Locator for the THTTPSoapDispatcher on the application server.

Pascal
property URL: string;
C++
__property AnsiString URL;

Use URL to specify the Uniform Resource Locator that the SOAP connection component uses to locate the application server. 

URL includes the protocol (http or https), host name, and scriptname for the application server, as well as a path portion that identifies the THTTPSoapDispatcher on the application server. Typically, it has the form

 http://DataHost.org/scripts/AppServer.dll/SOAP/

 

 http://DataHost.org/scripts/AppServer.so/SOAP/

Note: By default, URL does not include the interface name. The name of the interface is assumed to be IAppServerSOAP (or IAppServer). If the server is written in the Delphi language and the target remote data module supports an IAppServerSOAP descendant, Delphi clients can optionally include the target interface name at the end of the URL. This allows clients to identify a SOAP data module when the server contains multiple SOAP data modules, or allows you to access the server's interface by calling the GetSOAPServer method. If the client or server is not written using Delphi, you can accomplish this same effect using the SOAPServerIID property.
Note: URL is a standard Uniform Resource Locator. As such, you can also use it to override the port associated with http (80) or https (443) if the Web server is configured differently. The port number follows the host name, preceded by a colon.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!