RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLHTMLPublish.ServiceInfo Method

Responds to requests that are otherwise not handled by the application.

Pascal
procedure ServiceInfo(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
C++
__fastcall ServiceInfo(TObject * Sender, TWebRequest Request, TWebResponse Response, Boolean Handled);

The Web Module (or Web Dispatcher) calls ServiceInfo when there are no other components in the application to handle an incoming request message. ServiceInfo responds by generating a default Web page that includes a link to the WSDL documents. 

Sender is not used in the ServiceInfo method. 

Request contains information about the incoming request message. 

Response is a TWebResponse object that is filled out to indicate the response that should be returned to the Web client. 

Handled always returns true, indicating that ServiceInfo successfully generated a response. 

 

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