Poco::RemotingNG::SOAP

class WSDLRequestHandler

File Information

Library: RemotingNG/SOAP
Package: SOAP
Header: Poco/RemotingNG/SOAP/WSDLRequestHandler.h

Description

The WSDLRequestHandler serves WSDL files to clients.

Inheritance

Direct Base Classes: Poco::Net::HTTPRequestHandler

All Base Classes: Poco::Net::HTTPRequestHandler

Member Summary

Member Functions: handleRequest

Inherited Functions: handleRequest

Constructors

WSDLRequestHandler

WSDLRequestHandler(
    const std::string & wsdlPath
);

Creates the WSDLRequestHandler.

The path to the directory containing WSDL files must be given as argument.

Destructor

~WSDLRequestHandler virtual

~WSDLRequestHandler();

Destroys the WSDLRequestHandler.

Member Functions

handleRequest

void handleRequest(
    Poco::Net::HTTPServerRequest & request,
    Poco::Net::HTTPServerResponse & response
);

Sends the WSDL file back to the client, or sends a 404 response if the requested WSDL file does not exist.