rwsf::ServiceSkeletonBase rwsf::MessageHandlerImp rwsf::BodyBase
#include <rw/rwsf/soapworx/ServiceSkeletonBase.h>
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.
virtual void init(const rwsf::Config& initParams);
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.
void 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 Section 7.3.9, "Turning off Text Escaping to Improve Performance," in the HydraExpress Web Service Development Guide
std::string 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 Section 7.3.9, "Turning off Text Escaping to Improve Performance," in the HydraExpress Web Service Development Guide
virtual void invoke(rwsf::CallInfo& callInfo);
Retrieves the rwsf::XmlReader instance in the callInfo object to parse the document; then passes to the dispatchOperation() method. Throws a rwsf::ClientFault if the message is unknown or does not exist.
virtual void dispatchOperation(rwsf::CallInfo& context) = 0;
Pure virtual function. In the derived classes, parses the service operation method and dispatches it on to the web service implementation, an instance of a class derived from the server implementation base class. Parameter:
context |
A container for holding all data relevant to the service operation, including service metadata passed through the SOAP header or transport header. For information on the different uses of header data, including implementation of session management, see Chapter 19, "Sessions and State," in the HydraExpress Web Service Development Guide |
Throws a rwsf::ClientFault if the message is unknown or does not exist.
©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.