sptk2 logo
SPTK Home Page
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | List of all members
sptk::WSRequest Class Reference

#include <WSRequest.h>

Inheritance diagram for sptk::WSRequest:

Public Member Functions

 WSRequest (sptk::LogEngine *logEngine=nullptr)
 
virtual ~WSRequest ()=default
 
void processRequest (const xdoc::SNode &xmlContent, const xdoc::SNode &jsonContent, HttpAuthentication *authentication, String &requestName)
 
virtual String title () const
 
virtual String defaultPage () const
 
virtual String wsdl () const
 
sptk::LogEnginegetLogEngine ()
 

Static Public Member Functions

static String tagName (const String &nodeName)
 
static String nameSpace (const String &nodeName)
 

Protected Types

using RequestMethod = std::function< void(const sptk::xdoc::SNode &, const sptk::xdoc::SNode &, sptk::HttpAuthentication *, const sptk::WSNameSpace &)>
 

Protected Member Functions

virtual void requestBroker (const String &requestName, const xdoc::SNode &xmlContent, const xdoc::SNode &jsonContent, HttpAuthentication *authentication, const WSNameSpace &requestNameSpace)
 
virtual void handleError (const xdoc::SNode &xmlContent, const xdoc::SNode &jsonContent, const sptk::String &error, int errorCode) const
 
virtual void logError (const sptk::String &requestName, const sptk::String &error, int errorCode) const
 
xdoc::SNode findSoapBody (const xdoc::SNode &soapEnvelope, const WSNameSpace &soapNamespace)
 
void setRequestMethods (std::map< sptk::String, RequestMethod > &&requestMethods)
 

Detailed Description

Parser of WSDL requests


The documentation for this class was generated from the following file:

Fri Oct 14 2022 09:58:48: SPTK 5.4.1