#include <ServiceSkeleton.h>
Public Member Functions | |
virtual OMElement * | invoke (OMElement *omEle, MessageContext *msgCtx) |
virtual OMElement * | onFault (OMElement *omEle) |
virtual void | init () |
virtual | ~ServiceSkeleton () |
wso2wsf::ServiceSkeleton::~ServiceSkeleton | ( | ) | [inline, virtual] |
Destructor for ServiceSkeleton.
virtual void wso2wsf::ServiceSkeleton::init | ( | ) | [inline, virtual] |
Initialization method. Any service specific initialization can be done here.
virtual OMElement* wso2wsf::ServiceSkeleton::invoke | ( | OMElement * | omEle, | |
MessageContext * | msgCtx | |||
) | [inline, virtual] |
This method is called for handling the business logic of the service Services should implement this method in order to process the soap meesage's content.
omEle | is the first child of the SOAP Body element. The msgCtx is the message context of the out going message flow. The MessageContext object carries all the contextual details related to the soap message. Various details of the SOAP Message can be accessed using the MessageContext. This function should return the resultant OMElement which would be sent back to the message sender. | |
omEle | pointer to message that is passed in. | |
msgCtx | pointer to the Out Message Context. |
This is the handler to be invoked when a Fault occurs. The Service implementor should implement any service specific fault handling here. This method is called, when the message exchange pattern is Request,Response and the invoke() method has already failed.
omEle | omEle is the received SOAP Body's first child element. |