NonStop SOAP 4.1 User's Manual
env
is a pointer to an environment structure. It cannot have a NULL value.
soap_envelope
is a pointer to the SOAP envelope. The message context assumes ownership of SOAP envelope.
Return Values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
The axis2_msg_ctx_set_response_soap_envelope()Function
Synopsis:
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_response_soap_envelope ( axis2_msg_ctx_t * msg_ctx,
const axutil_env_t * env,
struct axiom_soap_envelope * soap_envelope
)
Description:
This function sets the response SOAP envelope.
Parameters:
msg_ctx
is the message context
env
is a pointer to an environment structure. It cannot have a NULL value.
soap_envelope
is a pointer to the SOAP envelope. The message context assumes ownership of SOAP envelope.
Return Values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
The axis2_msg_ctx_set_fault_soap_envelope()Function
Synopsis:
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_fault_soap_envelope
( axis2_msg_ctx_t * msg_ctx,
const axutil_env_t * env,
struct axiom_soap_envelope * soap_envelope )
Description:
This function sets the fault SOAP envelope.
Parameters:
msg_ctx
is the message context.
env
is a pointer to an environment structure. It cannot have a NULL value.
soap_envelope
is a pointer to the SOAP envelope. The message context assumes ownership of SOAP envelope.
Return Values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
Context Hierarchy 369










