Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HANDLER_ENTRY_SDL
Collapse the table of content
Expand the table of content

HANDLER_ENTRY_SDL

Visual Studio .NET 2003

Add this macro to your project to map a request handler name to the class responsible for handling the corresponding requests and expose the Web Service Description Language (WSDL) for the handler.

#define HANDLER_ENTRY_SDL(
   handlerString,
   handlerClass,
   handlerQClass,
   sdlClassName 
)

Parameters

handlerString
A string with the name of the request handler.
handlerClass
The simple name of an existing request handler class that maps to the name given by handlerName.
handlerQClass
The fully qualified name of an existing request handler class that maps to the name given by handlerName.
sdlClassName
The name of a request handler class that will be created for you. This class will be used to expose WSDL information for the XML Web service request handler handlerClass.

Remarks

You can add this macro to your code at any point after the class specified by handlerClass has been declared. The class does not need to be fully defined at the point at which this macro appears.

This macro works like DECLARE_REQUEST_HANDLER but also adds the code necessary to expose the XML Web service through WSDL.

This macro is equivalent in functionality to the request_handler attribute. handlerClass and handlerQClass are equivalent to the class to which the request_handler attribute is applied. handlerString is equivalent to the name parameter used by the attribute. sdlClassName is equivalent to the sdl parameter used by the attribute.

Requirements

Header: atlisapi.h

See Also

ATL Server | ATL Server Reference | ATL Server Macros | HANDLER_ENTRY | HANDLER_ENTRY_EX | DECLARE_REQUEST_HANDLER

Show:
© 2015 Microsoft