# ServiceSkeleton.h File Reference

ServiceSkeleton, the interface for implementing c++ Web Services with WSF/CPP is defined here. More...

`#include <WSFDefines.h>`
`#include <OMElement.h>`
`#include <string>`
`#include <MessageContext.h>`

Go to the source code of this file.

## Classes
class | wso2wsf::ServiceSkeleton
| class ServiceSkeleton represents the Interface that should be implemented by any CPP service to be deployed with WSF/CPP. This class defines 3 virtual methods which should be overridden by the implementation class. They are init() which performs any initialization required, invoke() which should handle the business logic processing for the services, and onFault() which should implement the fault handling. More...
## Namespaces
namespace | wso2wsf
| namespace wso2wsf Namespace of WSO2 Web Services Framework.

## Defines
#define | WSF_SERVICE_INIT(class_name)

## Detailed Description

ServiceSkeleton, the interface for implementing c++ Web Services with WSF/CPP is defined here.

## Define Documentation

#define WSF_SERVICE_INIT | ( | class_name |  | ) |

WSF_SERVICE_INIT Macro. This macro is used to pass the class name to the class loading methods for loading the service class to the engine for execution. The service implementor should have this macro with the appropriate class name as the argument for successful deployment of the service.