HydraExpress™ C++ API Reference Guide

 
Loading...
Searching...
No Matches
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

◆ dispatchOperation()

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.

◆ getProperty()

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.

◆ init()

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.

◆ invoke()

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.

◆ setProperty()

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 © 2026 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.