#include <axis2_msg_ctx.h>
Public Attributes | |
axis2_ctx_t *(* | get_base )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_op_ctx *(* | get_parent )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_parent )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_op_ctx *parent) |
axis2_status_t(* | free )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | init )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
axis2_endpoint_ref_t *(* | get_fault_to )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_endpoint_ref_t *(* | get_from )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_bool_t(* | get_in_fault_flow )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axiom_soap_envelope *(* | get_soap_envelope )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axiom_soap_envelope *(* | get_fault_soap_envelope )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
const axis2_char_t *(* | get_msg_id )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_bool_t(* | get_process_fault )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_relates_to_t *(* | get_relates_to )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_endpoint_ref_t *(* | get_reply_to )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_bool_t(* | get_response_written )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_bool_t(* | get_server_side )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_endpoint_ref_t *(* | get_to )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_fault_to )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *reference) |
axis2_status_t(* | set_from )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *reference) |
axis2_status_t(* | set_in_fault_flow )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t in_fault_flow) |
axis2_status_t(* | set_soap_envelope )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axiom_soap_envelope *soap_envelope) |
axis2_status_t(* | set_fault_soap_envelope )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axiom_soap_envelope *soap_envelope) |
axis2_status_t(* | set_message_id )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *message_id) |
axis2_status_t(* | set_process_fault )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t process_fault) |
axis2_status_t(* | set_relates_to )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_relates_to_t *reference) |
axis2_status_t(* | set_reply_to )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *referance) |
axis2_status_t(* | set_response_written )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t response_written) |
axis2_status_t(* | set_server_side )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t server_side) |
axis2_status_t(* | set_to )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *referance) |
axis2_bool_t(* | get_new_thread_required )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_new_thread_required )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t new_thread_required) |
axis2_status_t(* | set_wsa_action )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *action_uri) |
const axis2_char_t *(* | get_wsa_action )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_wsa_message_id )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *message_id) |
const axis2_char_t *(* | get_wsa_message_id )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_msg_info_headers_t *(* | get_msg_info_headers )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_bool_t(* | get_paused )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_paused )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t paused) |
axis2_transport_in_desc *(* | get_transport_in_desc )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_transport_out_desc *(* | get_transport_out_desc )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_transport_in_desc )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_transport_in_desc *transport_in_desc) |
axis2_status_t(* | set_transport_out_desc )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_transport_out_desc *transport_out_desc) |
axis2_op_ctx *(* | get_op_ctx )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_op_ctx )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_op_ctx *op_ctx) |
axis2_bool_t(* | get_output_written )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_output_written )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t output_written) |
const axis2_char_t *(* | get_svc_ctx_id )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_svc_ctx_id )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *svc_ctx_id) |
axis2_conf_ctx *(* | get_conf_ctx )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_svc_ctx *(* | get_svc_ctx )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_conf_ctx )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_conf_ctx *conf_ctx) |
axis2_status_t(* | set_svc_ctx )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc_ctx *svc_ctx) |
axis2_status_t(* | set_msg_info_headers )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_msg_info_headers_t *msg_info_headers) |
axis2_param_t *(* | get_parameter )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key) |
axis2_param_t *(* | get_module_parameter )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key, const axis2_char_t *module_name, axis2_handler_desc_t *handler_desc) |
axis2_property_t *(* | get_property )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key, const axis2_bool_t persistent) |
axis2_status_t(* | set_property )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key, axis2_property_t *value, const axis2_bool_t persistent) |
const axis2_qname_t *(* | get_paused_handler_name )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
const axis2_char_t *(* | get_paused_phase_name )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_paused_phase_name )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *paused_phase_name) |
const axis2_char_t *(* | get_soap_action )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_soap_action )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *soap_action) |
axis2_bool_t(* | get_doing_mtom )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_doing_mtom )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t doing_mtom) |
axis2_bool_t(* | get_doing_rest )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_doing_rest )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t doing_rest) |
axis2_status_t(* | set_do_rest_through_post )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t do_rest_through_post) |
axis2_bool_t(* | get_do_rest_through_post )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_bool_t(* | get_is_soap_11 )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_is_soap_11 )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t is_soap11) |
axis2_svc_grp_ctx *(* | get_svc_grp_ctx )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_svc_grp_ctx )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc_grp_ctx *svc_grp_ctx) |
axis2_op *(* | get_op )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_op )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_op *op) |
axis2_svc *(* | get_svc )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_svc )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc *svc) |
axis2_svc_grp *(* | get_svc_grp )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_svc_grp )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc_grp *svc_grp) |
const axis2_char_t *(* | get_svc_grp_ctx_id )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_svc_grp_ctx_id )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *svc_grp_ctx_id) |
axis2_svc *(* | find_svc )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_op *(* | find_op )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc *svc) |
axis2_bool_t(* | is_paused )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_options )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_options *options) |
axis2_status_t(* | set_flow )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, int flow) |
int(* | get_flow )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_execution_chain )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_array_list_t *execution_chain) |
axis2_array_list_t *(* | get_execution_chain )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_current_handler_index )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const int index) |
int(* | get_current_handler_index )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
int(* | get_paused_handler_index )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
axis2_status_t(* | set_current_phase_index )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const int index) |
int(* | get_current_phase_index )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
int(* | get_paused_phase_index )(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
struct axis2_op*( * axis2_msg_ctx_ops::find_op)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc *svc) |
Finds the operation to be invoked in the given service. This function is used by dispatchers to locate the operation to be invoked.
msg_ctx | message context | |
env | pointer to environment struct | |
svc | pointer to service to whom the operation belongs |
struct axis2_svc*( * axis2_msg_ctx_ops::find_svc)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Finds the service to be invoked. This function is used by dispatchers to locate the service to be invoked.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_status_t( * axis2_msg_ctx_ops::free)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Frees message context.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_ctx_t*( * axis2_msg_ctx_ops::get_base)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the base, which is of type context.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_conf_ctx*( * axis2_msg_ctx_ops::get_conf_ctx)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets configuration context.
msg_ctx | message context | |
env | pointer to environment struct |
int( * axis2_msg_ctx_ops::get_current_handler_index)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets current handler index, indicating which handler is currently being invoked in the execution chain
msg_ctx | message context | |
env | pointer to environment struct |
int( * axis2_msg_ctx_ops::get_current_phase_index)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets index of the current phase being invoked.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_do_rest_through_post)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Sets the boolean value indicating if REST should be done through HTTP POST or HTTP GET.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_doing_mtom)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the boolean value indicating if MTOM is enabled or not.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_doing_rest)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the boolean value indicating if REST is enabled or not.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_array_list_t*( * axis2_msg_ctx_ops::get_execution_chain)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the execution chain to be invoked. The execution chain is a list of phases containing the handlers to be invoked.
msg_ctx | message context | |
env | pointer to environment struct |
struct axiom_soap_envelope*( * axis2_msg_ctx_ops::get_fault_soap_envelope)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets fault SOAP envelope.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_endpoint_ref_t*( * axis2_msg_ctx_ops::get_fault_to)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets WS-Addressing fault to address. Fault to address tells where to send the fault in case there is an error.
msg_ctx | message context | |
env | pointer to environment struct |
int( * axis2_msg_ctx_ops::get_flow)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the flow to be invoked.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_endpoint_ref_t*( * axis2_msg_ctx_ops::get_from)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets WS-Addressing from endpoint. From address tells where the request came from.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_in_fault_flow)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Checks if there is a SOAP fault on in flow.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_is_soap_11)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the bool value indicating the SOAP version being used either SOAP 1.1 or SOAP 1.2
msg_ctx | message context | |
env | pointer to environment struct |
axis2_param_t*( * axis2_msg_ctx_ops::get_module_parameter)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key, const axis2_char_t *module_name, axis2_handler_desc_t *handler_desc) |
Gets parameters related to a named module and a given handler description. The order of searching for parameter is as follows: 1. search in module configuration stored inside corresponding operation description if its there 2. search in corresponding operation if its there 3. search in module configurations stored inside corresponding service description if its there 4. search in corresponding service description if its there 5. search in module configurations stored inside configuration 6. search in configuration for parameters 7. get the corresponding module and search for the parameters 8. search in handler description for the parameter
msg_ctx | pointer to message context | |
env | pointer to environment struct | |
key | parameter key | |
module_name | name of the module | |
handler_desc | pointer to handler description |
const axis2_char_t*( * axis2_msg_ctx_ops::get_msg_id)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets message ID.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_msg_info_headers_t*( * axis2_msg_ctx_ops::get_msg_info_headers)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets WS-Addressing message information headers.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_new_thread_required)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the bool value indicating if it is required to have a new thread for the invocation, or if the same thread of execution could be used.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_op*( * axis2_msg_ctx_ops::get_op)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the operation that is to be invoked.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_op_ctx*( * axis2_msg_ctx_ops::get_op_ctx)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets operation context related to the operation that this message context is related to.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_output_written)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the bool value indicating the output written status.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_param_t*( * axis2_msg_ctx_ops::get_parameter)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key) |
Gets configuration descriptor parameter with given key. This method recursively search the related description hierarchy for the parameter with given key until it is found or the parent of the description hierarchy is reached. The order of search is as follows: 1. search in operation description, if its there return 2. if the parameter is not found in operation or operation is NULL, search in service 3. if the parameter is not found in service or service is NULL search in configuration
msg_ctx | message context | |
env | pointer to environment struct | |
key | parameter key |
struct axis2_op_ctx*( * axis2_msg_ctx_ops::get_parent)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets parent. Parent of a message context is of type operation.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_paused)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the bool value indicating the paused status. It is possible to pause the engine invocation by any handler. By calling this method one can find out if some handler has paused the invocation.
msg_ctx | message context | |
env | pointer to environment struct |
int( * axis2_msg_ctx_ops::get_paused_handler_index)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets paused handler index, indicating at which handler the execution chain was paused.
msg_ctx | message context | |
env | pointer to environment struct |
const axis2_qname_t*( * axis2_msg_ctx_ops::get_paused_handler_name)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the QName of the handler at which invocation was paused.
msg_ctx | message context | |
env | pointer to environment struct |
int( * axis2_msg_ctx_ops::get_paused_phase_index)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the phase at which the invocation was paused.
msg_ctx | message context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_msg_ctx_ops::get_paused_phase_name)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the name of the phase at which the invocation was paused.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_process_fault)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets process fault status.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_property_t*( * axis2_msg_ctx_ops::get_property)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key, const axis2_bool_t persistent) |
Gets property corresponding to the given key.
msg_ctx | pointer to message context | |
env | pointer to environment struct | |
key | key string with which the property is stored | |
persistent | AXIS2_TRUE if the property is to be retrieved from persistent map, AXIS2_FALSE if the property is to be retrieved from non-persistent map |
axis2_relates_to_t*( * axis2_msg_ctx_ops::get_relates_to)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets relates to information for the message context.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_endpoint_ref_t*( * axis2_msg_ctx_ops::get_reply_to)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets WS-Addressing reply to endpoint. Reply to address tells where the the response should be sent to.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_response_written)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Checks the response status, whether it is written or not.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_bool_t( * axis2_msg_ctx_ops::get_server_side)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Checks if it is on the server side that the message is being dealt with, or on the client side.
msg_ctx | message context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_msg_ctx_ops::get_soap_action)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets SOAP action.
msg_ctx | message context | |
env | pointer to environment struct |
struct axiom_soap_envelope*( * axis2_msg_ctx_ops::get_soap_envelope)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the SOAP envelope. This SOAP envelope could be either request SOAP envelope or the response SOAP envelope, based on the state the message context is in.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_svc*( * axis2_msg_ctx_ops::get_svc)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the service to which the operation to be invoked belongs.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_svc_ctx*( * axis2_msg_ctx_ops::get_svc_ctx)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets service context that relates to the service that the message context is related to.
msg_ctx | message context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_msg_ctx_ops::get_svc_ctx_id)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the ID of service context that relates to the service that is related to the message context.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_svc_grp*( * axis2_msg_ctx_ops::get_svc_grp)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the service group to which the service to be invoked belongs.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_svc_grp_ctx*( * axis2_msg_ctx_ops::get_svc_grp_ctx)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets service group context. The returned service group context relates to the service group to which the service, related to the message context, belongs.
msg_ctx | message context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_msg_ctx_ops::get_svc_grp_ctx_id)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the service group context ID.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_endpoint_ref_t*( * axis2_msg_ctx_ops::get_to)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets WS-Addressing to endpoint. To address tells where message should be sent to.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_transport_in_desc*( * axis2_msg_ctx_ops::get_transport_in_desc)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets transport in description.
msg_ctx | message context | |
env | pointer to environment struct |
struct axis2_transport_out_desc*( * axis2_msg_ctx_ops::get_transport_out_desc)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets transport out description.
msg_ctx | message context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_msg_ctx_ops::get_wsa_action)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets WS-Addressing action.
msg_ctx | message context | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_msg_ctx_ops::get_wsa_message_id)(const axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets WS-Addressing message ID.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_status_t( * axis2_msg_ctx_ops::init)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_conf *conf) |
Initializes the message context. Based on the transport, service and operation qnames set on top of message context, correct instances of those struct instances would be extracted from configuration and set within message context.
msg_ctx | message context | |
env | pointer to environment struct | |
conf | pointer to configuration |
axis2_bool_t( * axis2_msg_ctx_ops::is_paused)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env) |
Gets the bool value indicating the paused status.
msg_ctx | message context | |
env | pointer to environment struct |
axis2_status_t( * axis2_msg_ctx_ops::set_conf_ctx)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_conf_ctx *conf_ctx) |
Sets configuration context.
msg_ctx | message context | |
env | pointer to environment struct | |
conf_ctx | pointer to configuration context struct, message context does not assume the ownership of struct |
axis2_status_t( * axis2_msg_ctx_ops::set_current_handler_index)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const int index) |
Sets current handler index, indicating which handler is currently being invoked in the execution chain
msg_ctx | message context | |
env | pointer to environment struct | |
index | index of currently executed handler |
axis2_status_t( * axis2_msg_ctx_ops::set_current_phase_index)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const int index) |
Sets index of the current phase being invoked.
msg_ctx | message context | |
env | pointer to environment struct | |
index | index of current phase |
axis2_status_t( * axis2_msg_ctx_ops::set_do_rest_through_post)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t do_rest_through_post) |
Sets the boolean value indicating if REST should be done through HTTP POST or HTTP GET.
msg_ctx | message context | |
env | pointer to environment struct | |
do_rest_through_post | AXIS2_TRUE if REST is to be done with HTTP POST, else AXIS2_FALSE if REST is to be done with HTTP GET |
axis2_status_t( * axis2_msg_ctx_ops::set_doing_mtom)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t doing_mtom) |
Sets the boolean value indicating if MTOM is enabled or not.
msg_ctx | message context | |
env | pointer to environment struct | |
doing_mtom | AXIS2_TRUE if MTOM is enabled, else AXIS2_FALSE |
axis2_status_t( * axis2_msg_ctx_ops::set_doing_rest)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t doing_rest) |
Sets the boolean value indicating if REST is enabled or not.
msg_ctx | message context | |
env | pointer to environment struct | |
doing_rest | AXIS2_TRUE if REST is enabled, else AXIS2_FALSE |
axis2_status_t( * axis2_msg_ctx_ops::set_execution_chain)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_array_list_t *execution_chain) |
Sets the execution chain to be invoked. The execution chain is a list of phases containing the handlers to be invoked.
msg_ctx | message context | |
env | pointer to environment struct | |
execution_chain | pointer array list containing the list of handlers that constitute the execution chain. message context does not assume the ownership of the array list |
axis2_status_t( * axis2_msg_ctx_ops::set_fault_soap_envelope)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axiom_soap_envelope *soap_envelope) |
Sets fault SOAP envelope.
msg_ctx | message context | |
env | pointer to environment struct | |
soap_envelope | pointer to SOAP envelope, message context assumes ownership of SOAP envelope |
axis2_status_t( * axis2_msg_ctx_ops::set_fault_to)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *reference) |
Sets WS-Addressing fault to endpoint. Fault to address tells where the fault message should be sent when there is an error.
msg_ctx | message context | |
env | pointer to environment struct | |
reference | pointer to endpoint reference representing fault to address. message context assumes the ownership of endpoint struct |
axis2_status_t( * axis2_msg_ctx_ops::set_flow)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, int flow) |
Sets the flow to be invoked.
msg_ctx | message context | |
env | pointer to environment struct | |
flow | int value indicating the flow |
axis2_status_t( * axis2_msg_ctx_ops::set_from)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *reference) |
Sets WS-Addressing from endpoint. From address tells where the message came from.
msg_ctx | message context | |
env | pointer to environment struct | |
reference | pointer to endpoint reference representing from address. message context assumes the ownership of endpoint struct |
axis2_status_t( * axis2_msg_ctx_ops::set_in_fault_flow)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t in_fault_flow) |
Sets in fault flow status.
msg_ctx | message context | |
env | pointer to environment struct | |
in_fault_flow | AXIS2_TRUE if there is a fault on in path, else AXIS2_FALSE |
axis2_status_t( * axis2_msg_ctx_ops::set_is_soap_11)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t is_soap11) |
Sets the bool value indicating the SOAP version being used either SOAP 1.1 or SOAP 1.2
msg_ctx | message context | |
env | pointer to environment struct | |
is_soap11 | AXIS2_TRUE if SOAP 1.1 is being used, else AXIS2_FALSE if SOAP 1.2 is being used |
axis2_status_t( * axis2_msg_ctx_ops::set_message_id)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *message_id) |
Sets message ID.
msg_ctx | message context | |
env | pointer to environment struct | |
message_id | message ID string |
axis2_status_t( * axis2_msg_ctx_ops::set_msg_info_headers)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_msg_info_headers_t *msg_info_headers) |
Sets message information headers.
msg_ctx | message context | |
env | pointer to environment struct | |
msg_info_headers | pointer to message information headers, message context assumes the ownership of the struct |
axis2_status_t( * axis2_msg_ctx_ops::set_new_thread_required)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t new_thread_required) |
Sets the bool value indicating if it is required to have a new thread for the invocation, or if the same thread of execution could be used.
msg_ctx | message context | |
env | pointer to environment struct | |
new_thread_required | AXIS2_TRUE if a new thread is required, else AXIS2_FALSE |
axis2_status_t( * axis2_msg_ctx_ops::set_op)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_op *op) |
Sets the operation that is to be invoked.
msg_ctx | message context | |
env | pointer to environment struct | |
op | pointer to operation, message context does not assume the ownership of operation |
axis2_status_t( * axis2_msg_ctx_ops::set_op_ctx)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_op_ctx *op_ctx) |
Sets operation context related to the operation that this message context is related to.
msg_ctx | message context | |
env | pointer to environment struct | |
op_ctx | pointer to operation context, message context does not assume the ownership of operation context |
axis2_status_t( * axis2_msg_ctx_ops::set_options)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_options *options) |
Sets the options to be used in invocation.
msg_ctx | message context | |
env | pointer to environment struct | |
options | pointer to options struct , message context does not assume the ownership of the struct |
axis2_status_t( * axis2_msg_ctx_ops::set_output_written)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t output_written) |
Sets the bool value indicating the output written status.
msg_ctx | message context | |
env | pointer to environment struct | |
output_written | AXIS2_TRUE if output is written, else AXIS2_FALSE |
axis2_status_t( * axis2_msg_ctx_ops::set_parent)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_op_ctx *parent) |
Sets parent. Parent of a message context is of type operation.
msg_ctx | message context | |
env | pointer to environment struct | |
parent | pointer to parent operation |
axis2_status_t( * axis2_msg_ctx_ops::set_paused)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t paused) |
Sets the bool value indicating the paused status of invocation.
msg_ctx | message context | |
env | pointer to environment struct | |
paused | paused |
axis2_status_t( * axis2_msg_ctx_ops::set_paused_phase_name)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *paused_phase_name) |
Sets the name of the phase at which the invocation was paused.
msg_ctx | message context | |
env | pointer to environment struct | |
paused_phase_name | paused phase name string |
axis2_status_t( * axis2_msg_ctx_ops::set_process_fault)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t process_fault) |
Sets process fault bool value.
msg_ctx | message context | |
env | pointer to environment struct | |
process_fault | AXIS2_TRUE if SOAP faults are to be processed, else AXIS2_FALSE |
axis2_status_t( * axis2_msg_ctx_ops::set_property)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *key, axis2_property_t *value, const axis2_bool_t persistent) |
Sets property with given key.
msg_ctx | message context | |
env | pointer to environment struct | |
key | key string | |
value | property to be stored | |
persistent | AXIS2_TRUE if the property is to be stored in persistent map, AXIS2_FALSE if the property is to be stored in non-persistent map |
axis2_status_t( * axis2_msg_ctx_ops::set_relates_to)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_relates_to_t *reference) |
Sets relates to struct.
msg_ctx | message context | |
env | pointer to environment struct | |
reference | pointer to relates to struct, message context assumes ownership of the struct |
axis2_status_t( * axis2_msg_ctx_ops::set_reply_to)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *referance) |
Sets WS-Addressing reply to address indicating the location to which the reply would be sent.
msg_ctx | message context | |
env | pointer to environment struct | |
reference | pointer to endpoint reference representing reply to address |
axis2_status_t( * axis2_msg_ctx_ops::set_response_written)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t response_written) |
Sets the bool value indicating the status of response.
msg_ctx | message context | |
env | pointer to environment struct | |
response_written | AXIS2_TRUE if response is written, else AXIS2_FALSE |
axis2_status_t( * axis2_msg_ctx_ops::set_server_side)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_bool_t server_side) |
Sets the bool value indicating if it is the server side or the client side.
msg_ctx | message context | |
env | pointer to environment struct | |
server_side | AXIS2_TRUE if it is server side, AXIS2_FALSE if it is client side |
axis2_status_t( * axis2_msg_ctx_ops::set_soap_action)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *soap_action) |
Sets SOAP action.
msg_ctx | message context | |
env | pointer to environment struct | |
soap_action | SOAP action string |
axis2_status_t( * axis2_msg_ctx_ops::set_soap_envelope)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axiom_soap_envelope *soap_envelope) |
Sets SOAP envelope. The fact that if it is the request SOAP envelope or that of response depends on the current status represented by message context.
msg_ctx | message context | |
env | pointer to environment struct | |
soap_envelope | pointer to SOAP envelope, message context assumes ownership of SOAP envelope |
axis2_status_t( * axis2_msg_ctx_ops::set_svc)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc *svc) |
Sets the service to which the operation to be invoked belongs.
msg_ctx | message context | |
env | pointer to environment struct | |
svc | pointer to service struct, message context does not assume the ownership of struct |
axis2_status_t( * axis2_msg_ctx_ops::set_svc_ctx)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc_ctx *svc_ctx) |
Sets service context.
msg_ctx | message context | |
env | pointer to environment struct | |
svc_ctx | pointer to service context struct, message context does not assume the ownership of struct |
axis2_status_t( * axis2_msg_ctx_ops::set_svc_ctx_id)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *svc_ctx_id) |
Sets the ID of service context that relates to the service that is related to the message context.
msg_ctx | message context | |
env | pointer to environment struct | |
svc_ctx_id | The service context ID string |
axis2_status_t( * axis2_msg_ctx_ops::set_svc_grp)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc_grp *svc_grp) |
Sets the service group to which the service to be invoked belongs.
msg_ctx | message context | |
env | pointer to environment struct | |
svc_grp | pointer to service group struct, message context does not assume the ownership of the struct |
axis2_status_t( * axis2_msg_ctx_ops::set_svc_grp_ctx)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_svc_grp_ctx *svc_grp_ctx) |
Gets service group context. The returned service group context relates to the service group to which the service, related to the message context, belongs.
msg_ctx | message context | |
env | pointer to environment struct | |
svc_grp_ctx | pointer to service group context |
axis2_status_t( * axis2_msg_ctx_ops::set_svc_grp_ctx_id)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *svc_grp_ctx_id) |
Sets the service group context ID.
msg_ctx | message context | |
env | pointer to environment struct | |
svc_grp_ctx_id | service group context ID string |
axis2_status_t( * axis2_msg_ctx_ops::set_to)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, axis2_endpoint_ref_t *referance) |
Sets WS-Addressing to address.
msg_ctx | message context | |
env | pointer to environment struct | |
reference | pointer to endpoint reference struct representing the address where the request should be sent to. message context assumes ownership of endpoint struct |
axis2_status_t( * axis2_msg_ctx_ops::set_transport_in_desc)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_transport_in_desc *transport_in_desc) |
Sets transport in description.
msg_ctx | message context | |
env | pointer to environment struct | |
transport_in_desc | pointer to transport in description struct, message context does not assume the ownership of the struct |
axis2_status_t( * axis2_msg_ctx_ops::set_transport_out_desc)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, struct axis2_transport_out_desc *transport_out_desc) |
Sets transport out description.
msg_ctx | message context | |
env | pointer to environment struct | |
transport_out_desc | pointer to transport out description, message context does not assume the ownership of the struct |
axis2_status_t( * axis2_msg_ctx_ops::set_wsa_action)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *action_uri) |
Sets WS-Addressing action.
msg_ctx | message context | |
env | pointer to environment struct | |
action_uri | WSA action URI string |
axis2_status_t( * axis2_msg_ctx_ops::set_wsa_message_id)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_char_t *message_id) |
Sets WS-Addressing message ID.
msg_ctx | message context | |
env | pointer to environment struct | |
message_id | pointer to message ID string |