HydraExpress™ C++ 2019 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Abstract base class for all generated service skeleton classes. More...
#include <rwsf/webservice/ServiceSkeletonBase.h>
Public Member Functions | |
virtual void | dispatchOperation (rwsf::CallInfo &context)=0 |
std::string | getProperty (const std::string &key) const |
virtual void | init (const rwsf::Config &initParams) |
virtual void | invoke (rwsf::CallInfo &callInfo) |
void | setProperty (const std::string &key, const std::string &value) |
Public Member Functions inherited from rwsf::MessageHandlerImp | |
MessageHandlerImp () | |
virtual | ~MessageHandlerImp () |
virtual void | destroy () |
Additional Inherited Members | |
Related Functions inherited from rwsf::MessageHandlerImp | |
#define | RWSF_DEFINE_MESSAGE_HANDLER(NAME) |
#define | RWSF_DEFINE_STATIC_MESSAGE_HANDLER(ID, NAME) |
Class rwsf::ServiceSkeletonBase is an abstract base class for all generated skeletons. Its derived classes handle the details of marshaling and unmarshaling a SOAP message and trapping exceptions, which they translate into SOAP fault messages.
|
pure virtual |
Pure virtual function. In the derived classes, parses the service operation method and dispatches it to the web service implementation, an instance of a class derived from the server implementation base class.
Throws an rwsf::ClientFault if the message is unknown or does not exist.
std::string rwsf::ServiceSkeletonBase::getProperty | ( | const std::string & | key | ) | const |
Returns initialization parameter value for the given key
.
rwsf:doEscape
. For more information, see the Web Service Development Guide.
|
virtual |
Default initialize method. In the derived classes, retrieves the porttype
implementation and the porttype
instance in the naming context, and restores it, if it exists.
Reimplemented from rwsf::MessageHandlerImp.
|
virtual |
Retrieves the rwsf::XmlReader instance in the callInfo object to parse the document; then passes to the dispatchOperation() method. Throws an rwsf::ClientFault if the message is unknown or does not exist.
Reimplemented from rwsf::MessageHandlerImp.
void rwsf::ServiceSkeletonBase::setProperty | ( | const std::string & | key, |
const std::string & | value | ||
) |
Sets an initialization parameter.
rwsf:doEscape
. For more information, see the Web Service Development Guide.
Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved. |