rwlogo
HydraExpress 4.6

HydraExpress C++ API Reference Guide


   


Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::ServiceSkeletonBase Class Reference
[Web Services]

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

#include <rwsf/webservice/ServiceSkeletonBase.h>

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

List of all members.

Public Member Functions

virtual void init (const rwsf::Config &initParams)
virtual void invoke (rwsf::CallInfo &callInfo)
virtual void dispatchOperation (rwsf::CallInfo &context)=0
void setProperty (const std::string &key, const std::string &value)
std::string getProperty (const std::string &key) const

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

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.