Soap.WSDLPub.TBeforePublishingWSDLEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TBeforePublishingWSDLEvent = procedure(const IntfName: InvString; var WSDL: InvString; var Handled: Boolean) of object;

C++

typedef void __fastcall (__closure *TBeforePublishingWSDLEvent)(const System::UnicodeString IntfName, System::UnicodeString &WSDL, bool &Handled);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Soap.WSDLPub.pas
Soap.WSDLPub.hpp
Soap.WSDLPub Soap.WSDLPub

Description

TBeforePublishingWSDLEvent is the type of the OnBeforePublishingWSDL event of TWSDLHTMLPublish.

TBeforePublishingWSDLEvent is the type of the OnBeforePublishingWSDL event handler, which allows an application to generate the content of a WSDL document on behalf of the WSDL publisher.

IntfName is the name of the invokable interface for which to generate a WSDL description.

WSDL returns a string of XML that makes up the content of the WSDL document that describes the specified interface.

Handled returns true if the event handler generates and returns a value for WSDL. If Handled returns true, the publisher uses the value of WSDL rather than generating its own WSDL document. If Handled returns false, the publisher generates a WSDL document for the interface and all types that it uses.

See Also