NonStop SOAP 4.1 User's Manual

Description:
This function gets operation context related to the operation that this message context is related
to.
Parameters:
msg_ctx
is the message context.
env
is a pointer to an environment structure. It cannot have a NULL value.
Return Values:
This function returns a pointer to operation context structure.
The axis2_msg_ctx_get_svc_ctx_id()Function
Synopsis:
AXIS2_EXTERN const axis2_char_t* axis2_msg_ctx_get_svc_ctx_id
( const axis2_msg_ctx_t * msg_ctx,
const axutil_env_t * env )
Description:
This function gets the ID of service context that relates to the service that is related to the message
context.
Parameters:
msg_ctx
is the message context.
env
is a pointer to an environment structure. It cannot have a NULL value.
Return Values:
This function returns the service context ID string.
The axis2_msg_ctx_set_svc_ctx_id()Function
Synopsis:
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_svc_ctx_id
( axis2_msg_ctx_t * msg_ctx,
const axutil_env_t * env,
const axis2_char_t * svc_ctx_id )
Description:
This function sets the ID of the service context that relates to the service that is related to the message
context.
Parameters:
msg_ctx
is the message context.
env
is a pointer to an environment structure. It cannot have a NULL value.
svc_ctx_id
is the service context ID string
Return Values:
AXIS2_TRUE if the message context is kept alive
AXIS2_FALSE if the message context is not alive
372 NonStop SOAP 4 APIs