RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapConnection.GetServer Method

Returns an IAppServer interface for communicating with the application server.

Pascal
function GetServer: IAppServer; override;
C++
virtual __fastcall IAppServer GetServer();

Client datasets call GetServer to set the value of their AppServer property. This allows them to access providers on the remote application server. 

GetServer ensures that there is a connection and then returns an IAppServer interface that can be used to communicate with providers on the application server. To use other methods of the application server's interface, use a separate THTTPRIO object or call the GetSOAPServer method after setting the SOAPServerIID property. 

 

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