NonStop SOAP 4.1 User's Manual
Return Values:
This function returns a pointer to operation context which is the parent.
The axis2_msg_ctx_set_parent()Function
Synopsis:
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_parent
( axis2_msg_ctx_t * msg_ctx,
const axutil_env_t * env,
struct axis2_op_ctx * parent )
Description:
This function sets the parent. Parent of a message context is of type operation context.
Parameters:
msg_ctx
is the message context
env
is a pointer to an environment structure. It cannot have a NULL value.
parent
pointer to parent operation context
Return Values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
The axis2_msg_ctx_free()Function
Synopsis:
AXIS2_EXTERN void axis2_msg_ctx_free
( axis2_msg_ctx_t * msg_ctx,
const axutil_env_t * env )
Description:
This function frees 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:
Void.
The axis2_msg_ctx_get_soap_envelope()Function
Synopsis:
AXIS2_EXTERN struct axiom_soap_envelope* axis2_msg_ctx_get_soap_envelope
( const axis2_msg_ctx_t * msg_ctx,
const axutil_env_t * env )
Description:
This function gets the SOAP envelope. This SOAP envelope could be either a request SOAP envelope
or the response SOAP envelope, based on the state the message context is in.
Parameters:
msg_ctx
is the message context
366 NonStop SOAP 4 APIs










