Soap.SOAPConn.TSoapConnection.URL

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property URL: string read FURL write SetURL;

C++

__property System::UnicodeString URL = {read=FURL, write=SetURL};

Properties

Type Visibility Source Unit Parent
property published
Soap.SOAPConn.pas
Soap.SOAPConn.hpp
Soap.SOAPConn TSoapConnection

Description

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

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.

See Also