HydraExpress™ C++ API Reference Guide

Product Documentation:
   HydraExpress C++
Documentation Home
List of all members | Public Member Functions
rwsf::ServiceSkeletonBase Class Referenceabstract

Abstract base class for all generated service skeleton classes. More...

#include <rwsf/webservice/ServiceSkeletonBase.h>

Inheritance diagram for rwsf::ServiceSkeletonBase:
rwsf::MessageHandlerImp

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

Detailed Description

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.

Member Function Documentation

virtual void rwsf::ServiceSkeletonBase::dispatchOperation ( rwsf::CallInfo &  context)
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.

Note
The only initialization parameter is rwsf:doEscape. For more information, see the Web Service Development Guide.
virtual void rwsf::ServiceSkeletonBase::init ( const rwsf::Config &  initParams)
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 void rwsf::ServiceSkeletonBase::invoke ( rwsf::CallInfo &  callInfo)
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.

Note
The only initialization parameter is rwsf:doEscape. For more information, see the Web Service Development Guide.

Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is registered trademark of Rogue Wave Software, Inc. in the United States and other countries, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.