# MessageContext.h File Reference

MessageContext stores all state information releated to a message invocation. More...

`#include <WSFDefines.h>`
`#include <OMElement.h>`
`#include <string>`
`#include <axis2_msg_ctx.h>`
`#include <axis2_conf_ctx.h>`
`#include <Parameter.h>`
`#include <Property.h>`
`#include <Options.h>`
`#include <Environment.h>`

Go to the source code of this file.

## Classes
class | wso2wsf::MessageContext
| Class MessageContext captures all state information related to a message invocation. It holds information on the service and operation to be invoked as well as context hierarchy information related to the service and operation. It also has information on transports, that are to be used in invocation. The phase information is kept, along with the phase at which message invocation was paused as well as the handler in the phase from which the invocation is to be resumed.Message context would hold the request SOAP message along the out path and would capture response along the in path. Message context also has information on various engine specific information, such as if it should be doing MTOM, REST. As message context is inherited form context, it has the capability of storing user defined properties. In addition to the methods exposed by the MessageContex class, the underlying axis2 level message context can also be accessed if required. More...
## Namespaces
namespace | wso2wsf
| namespace wso2wsf Namespace of WSO2 Web Services Framework.

## Detailed Description

MessageContext stores all state information releated to a message invocation.