message context
[context hierarchy]


Files

file  axis2_msg_ctx.h

Classes

struct  axis2_msg_ctx_ops
struct  axis2_msg_ctx

Defines

#define AXIS2_TRANSPORT_HEADERS   "AXIS2_TRANSPORT_HEADERS"
#define AXIS2_TRANSPORT_OUT   "AXIS2_TRANSPORT_OUT"
#define AXIS2_TRANSPORT_IN   "AXIS2_TRANSPORT_IN"
#define AXIS2_CHARACTER_SET_ENCODING   "AXIS2_CHARACTER_SET_ENCODING"
#define AXIS2_UTF_8   "UTF-8"
#define AXIS2_UTF_16   "utf-16"
#define AXIS2_DEFAULT_CHAR_SET_ENCODING   "UTF-8"
#define AXIS2_TRANSPORT_SUCCEED   "AXIS2_TRANSPORT_SUCCEED"
#define AXIS2_HTTP_CLIENT   "AXIS2_HTTP_CLIENT"
#define AXIS2_TRANSPORT_URL   "TransportURL"
#define AXIS2_MSG_CTX_GET_BASE(msg_ctx, env)   ((msg_ctx)->ops->get_base(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_PARENT(msg_ctx, env)   ((msg_ctx)->ops->get_parent(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_PARENT(msg_ctx, env, parent)   ((msg_ctx)->ops->get_parent(msg_ctx, env, parent))
#define AXIS2_MSG_CTX_FREE(msg_ctx, env)   ((msg_ctx)->ops->free(msg_ctx, env))
#define AXIS2_MSG_CTX_INIT(msg_ctx, env, conf)   ((msg_ctx)->ops->init(msg_ctx, env, conf))
#define AXIS2_MSG_CTX_GET_FAULT_TO(msg_ctx, env)   ((msg_ctx)->ops->get_fault_to(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_FROM(msg_ctx, env)   ((msg_ctx)->ops->get_from(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_IN_FAULT_FLOW(msg_ctx, env)   ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(msg_ctx, env)   ((msg_ctx)->ops->get_soap_envelope(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_FAULT_SOAP_ENVELOPE(msg_ctx, env)   ((msg_ctx)->ops->get_fault_soap_envelope(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_MSG_ID(msg_ctx, env)   ((msg_ctx)->ops->get_msg_id(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_PROCESS_FAULT(msg_ctx, env)   ((msg_ctx)->ops->get_process_fault(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_RELATES_TO(msg_ctx, env)   ((msg_ctx)->ops->get_relates_to(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_REPLY_TO(msg_ctx, env)   ((msg_ctx)->ops->get_reply_to(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_RESPONSE_WRITTEN(msg_ctx, env)   ((msg_ctx)->ops->get_response_written(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_SERVER_SIDE(msg_ctx, env)   ((msg_ctx)->ops->get_server_side(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_TO(msg_ctx, env)   ((msg_ctx)->ops->get_to(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_FAULT_TO(msg_ctx, env, reference)   ((msg_ctx)->ops->set_fault_to(msg_ctx, env, reference))
#define AXIS2_MSG_CTX_SET_FROM(msg_ctx, env, reference)   ((msg_ctx)->ops->set_from(msg_ctx, env, reference))
#define AXIS2_MSG_CTX_SET_IN_FAULT_FLOW(msg_ctx, env, in_fault_flow)   ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env, in_fault_flow))
#define AXIS2_MSG_CTX_SET_SOAP_ENVELOPE(msg_ctx, env, soap_envelope)   ((msg_ctx)->ops->set_soap_envelope(msg_ctx, env, soap_envelope))
#define AXIS2_MSG_CTX_SET_FAULT_SOAP_ENVELOPE(msg_ctx, env, soap_envelope)   ((msg_ctx)->ops->set_fault_soap_envelope(msg_ctx, env, soap_envelope))
#define AXIS2_MSG_CTX_SET_MESSAGE_ID(msg_ctx, env, message_id)   ((msg_ctx)->ops->set_message_id(msg_ctx, env, message_id))
#define AXIS2_MSG_CTX_SET_PROCESS_FAULT(msg_ctx, env, process_fault)   ((msg_ctx)->ops->set_process_fault(msg_ctx, env, process_fault))
#define AXIS2_MSG_CTX_SET_RELATES_TO(msg_ctx, env, reference)   ((msg_ctx)->ops->set_relates_to(msg_ctx, env, reference))
#define AXIS2_MSG_CTX_SET_REPLY_TO(msg_ctx, env, reference)   ((msg_ctx)->ops->set_reply_to(msg_ctx, env, reference))
#define AXIS2_MSG_CTX_SET_RESPONSE_WRITTEN(msg_ctx, env, response_written)   ((msg_ctx)->ops->set_response_written(msg_ctx, env, response_written))
#define AXIS2_MSG_CTX_SET_SERVER_SIDE(msg_ctx, env, server_side)   ((msg_ctx)->ops->set_server_side(msg_ctx, env, server_side))
#define AXIS2_MSG_CTX_SET_TO(msg_ctx, env, reference)   ((msg_ctx)->ops->set_to(msg_ctx, env, reference))
#define AXIS2_MSG_CTX_GET_NEW_THREAD_REQUIRED(msg_ctx, env)   ((msg_ctx)->ops->set_response_written(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_NEW_THREAD_REQUIRED(msg_ctx, env, new_thread_required)   ((msg_ctx)->ops->set_response_written(msg_ctx, env, new_thread_required))
#define AXIS2_MSG_CTX_SET_WSA_ACTION(msg_ctx, env, action_uri)   ((msg_ctx)->ops->set_wsa_action(msg_ctx, env, action_uri))
#define AXIS2_MSG_CTX_GET_WSA_ACTION(msg_ctx, env)   ((msg_ctx)->ops->get_wsa_action(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_WSA_MESSAGE_ID(msg_ctx, env, message_id)   ((msg_ctx)->ops->set_wsa_message_id(msg_ctx, env, message_id))
#define AXIS2_MSG_CTX_GET_WSA_MESSAGE_ID(msg_ctx, env)   ((msg_ctx)->ops->get_wsa_message_id(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_MSG_INFO_HEADERS(msg_ctx, env)   ((msg_ctx)->ops->get_msg_info_headers(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_PAUSED(msg_ctx, env)   ((msg_ctx)->ops->get_paused(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_PAUSED(msg_ctx, env, paused)   ((msg_ctx)->ops->set_paused(msg_ctx, env, paused))
#define AXIS2_MSG_CTX_IS_KEEP_ALIVE(msg_ctx, env)   ((msg_ctx)->ops->is_keep_alive(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_KEEP_ALIVE(msg_ctx, env, keep_alive)   ((msg_ctx)->ops->set_keep_alive(msg_ctx, env, keep_alive))
#define AXIS2_MSG_CTX_GET_TRANSPORT_IN_DESC(msg_ctx, env)   ((msg_ctx)->ops->get_transport_in_desc(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_TRANSPORT_OUT_DESC(msg_ctx, env)   ((msg_ctx)->ops->get_transport_out_desc(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_TRANSPORT_IN_DESC(msg_ctx, env, transport_in_desc)   ((msg_ctx)->ops->set_transport_in_desc(msg_ctx, env, transport_in_desc))
#define AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC(msg_ctx, env, transport_out_desc)   ((msg_ctx)->ops->set_transport_out_desc(msg_ctx, env, transport_out_desc))
#define AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env)   ((msg_ctx)->ops->get_op_ctx(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_OP_CTX(msg_ctx, env, op_ctx)   ((msg_ctx)->ops->set_op_ctx(msg_ctx, env, op_ctx))
#define AXIS2_MSG_CTX_GET_OUTPUT_WRITTEN(msg_ctx, env)   ((msg_ctx)->ops->get_output_written(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_OUTPUT_WRITTEN(msg_ctx, env, output_written)   ((msg_ctx)->ops->set_output_written(msg_ctx, env, output_written))
#define AXIS2_MSG_CTX_GET_SVC_CTX_ID(msg_ctx, env)   ((msg_ctx)->ops->get_svc_ctx_id(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_SVC_CTX_ID(msg_ctx, env, svc_ctx_id)   ((msg_ctx)->ops->set_svc_ctx_id(msg_ctx, env, svc_ctx_id))
#define AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env)   ((msg_ctx)->ops->get_conf_ctx(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_CONF_CTX(msg_ctx, env, conf_ctx)   ((msg_ctx)->ops->set_conf_ctx(msg_ctx, env, conf_ctx))
#define AXIS2_MSG_CTX_GET_SVC_CTX(msg_ctx, env)   ((msg_ctx)->ops->get_svc_ctx(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_SVC_CTX(msg_ctx, env, svc_ctx)   ((msg_ctx)->ops->set_svc_ctx(msg_ctx, env, svc_ctx))
#define AXIS2_MSG_CTX_SET_MSG_INFO_HEADERS(msg_ctx, env, msg_info_headers)   ((msg_ctx)->ops->set_msg_info_headers(msg_ctx, env, msg_info_headers))
#define AXIS2_MSG_CTX_GET_PARAMETER(msg_ctx, env, key)   ((msg_ctx)->ops->get_parameter(msg_ctx, env, key))
#define AXIS2_MSG_CTX_GET_MODULE_PARAMETER(msg_ctx, env, key, module_name, handler_desc)   ((msg_ctx)->ops->get_module_parameter(msg_ctx, env, key, module_name, handler_desc))
#define AXIS2_MSG_CTX_GET_PROPERTY(msg_ctx, env, key, persistent)   ((msg_ctx)->ops->get_property(msg_ctx, env, key, persistent))
#define AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env, key, value, persistent)   ((msg_ctx)->ops->set_property(msg_ctx, env, key, value, persistent))
#define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_NAME(msg_ctx, env)   ((msg_ctx)->ops->get_paused_handler_name(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_PAUSED_PHASE_NAME(msg_ctx, env)   ((msg_ctx)->ops->get_paused_phase_name(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_PAUSED_PHASE_NAME(msg_ctx, env, paused_phase_name)   ((msg_ctx)->ops->set_paused_phase_name(msg_ctx, env, paused_phase_name))
#define AXIS2_MSG_CTX_GET_SOAP_ACTION(msg_ctx, env)   ((msg_ctx)->ops->get_soap_action(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_SOAP_ACTION(msg_ctx, env, soap_action)   ((msg_ctx)->ops->set_soap_action(msg_ctx, env, soap_action))
#define AXIS2_MSG_CTX_GET_DOING_MTOM(msg_ctx, env)   ((msg_ctx)->ops->get_doing_mtom(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_DOING_MTOM(msg_ctx, env, doing_mtom)   ((msg_ctx)->ops->set_doing_mtom(msg_ctx, env, doing_mtom))
#define AXIS2_MSG_CTX_GET_DOING_REST(msg_ctx, env)   ((msg_ctx)->ops->get_doing_rest(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_DOING_REST(msg_ctx, env, doing_rest)   ((msg_ctx)->ops->set_doing_rest(msg_ctx, env, doing_rest))
#define AXIS2_MSG_CTX_SET_DO_REST_THROUGH_POST(msg_ctx, env, do_rest_through_post)   ((msg_ctx)->ops->set_do_rest_through_post(msg_ctx, env, do_rest_through_post))
#define AXIS2_MSG_CTX_GET_IS_SOAP_11(msg_ctx, env)   ((msg_ctx)->ops->get_is_soap_11(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_IS_SOAP_11(msg_ctx, env, is_soap11)   ((msg_ctx)->ops->set_is_soap_11(msg_ctx, env, is_soap11))
#define AXIS2_MSG_CTX_GET_SVC_GRP_CTX(msg_ctx, env)   ((msg_ctx)->ops->get_svc_grp_ctx(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_SVC_GRP_CTX(msg_ctx, env, svc_grp_ctx)   ((msg_ctx)->ops->set_svc_grp_ctx(msg_ctx, env, svc_grp_ctx))
#define AXIS2_MSG_CTX_GET_OP(msg_ctx, env)   ((msg_ctx)->ops->get_op(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_OP(msg_ctx, env, op)   ((msg_ctx)->ops->set_op(msg_ctx, env, op))
#define AXIS2_MSG_CTX_GET_SVC(msg_ctx, env)   ((msg_ctx)->ops->get_svc(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_SVC(msg_ctx, env, svc)   ((msg_ctx)->ops->set_svc(msg_ctx, env, svc))
#define AXIS2_MSG_CTX_GET_SVC_GRP(msg_ctx, env)   ((msg_ctx)->ops->get_svc_grp(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_SVC_GRP(msg_ctx, env, svc_grp)   ((msg_ctx)->ops->set_svc_grp(msg_ctx, env, svc_grp))
#define AXIS2_MSG_CTX_GET_SVC_GRP_CTX_ID(msg_ctx, env)   ((msg_ctx)->ops->get_svc_grp_ctx_id(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_SVC_GRP_CTX_ID(msg_ctx, env, svc_grp_ctx_id)   ((msg_ctx)->ops->set_svc_grp_ctx_id(msg_ctx, env, svc_grp_ctx_id))
#define AXIS2_MSG_CTX_IS_PAUSED(msg_ctx, env)   ((msg_ctx)->ops->is_paused(msg_ctx, env))
#define AXIS2_MSG_CTX_FIND_SVC(msg_ctx, env)   ((msg_ctx)->ops->find_svc(msg_ctx, env))
#define AXIS2_MSG_CTX_FIND_OP(msg_ctx, env, svc)   ((msg_ctx)->ops->find_op(msg_ctx, env, svc))
#define AXIS2_MSG_CTX_SET_OPTIONS(msg_ctx, env, options)   ((msg_ctx)->ops->set_options(msg_ctx, env, options))
#define AXIS2_MSG_CTX_SET_FLOW(msg_ctx, env, flow)   ((msg_ctx)->ops->set_flow(msg_ctx, env, flow))
#define AXIS2_MSG_CTX_GET_FLOW(msg_ctx, env)   ((msg_ctx)->ops->get_flow(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_EXECUTION_CHAIN(msg_ctx, env, chain)   ((msg_ctx)->ops->set_execution_chain(msg_ctx, env, chain))
#define AXIS2_MSG_CTX_GET_EXECUTION_CHAIN(msg_ctx, env)   ((msg_ctx)->ops->get_execution_chain(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_CURRENT_HANDLER_INDEX(msg_ctx, env, index)   ((msg_ctx)->ops->set_current_handler_index(msg_ctx, env, index))
#define AXIS2_MSG_CTX_GET_CURRENT_HANDLER_INDEX(msg_ctx, env)   ((msg_ctx)->ops->get_current_handler_index(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_INDEX(msg_ctx, env)   ((msg_ctx)->ops->get_paused_handler_index(msg_ctx, env))
#define AXIS2_MSG_CTX_SET_CURRENT_PHASE_INDEX(msg_ctx, env, index)   ((msg_ctx)->ops->set_current_phase_index(msg_ctx, env, index))
#define AXIS2_MSG_CTX_GET_CURRENT_PHASE_INDEX(msg_ctx, env)   ((msg_ctx)->ops->get_current_phase_index(msg_ctx, env))
#define AXIS2_MSG_CTX_GET_PAUSED_PHASE_INDEX(msg_ctx, env)   ((msg_ctx)->ops->get_paused_phase_index(msg_ctx, env))

Typedefs

typedef axis2_msg_ctx_ops axis2_msg_ctx_ops_t
typedef axis2_msg_ctx axis2_msg_ctx_t

Functions

AXIS2_EXTERN axis2_msg_ctx_taxis2_msg_ctx_create (const axis2_env_t *env, struct axis2_conf_ctx *conf_ctx, struct axis2_transport_in_desc *transport_in_desc, struct axis2_transport_out_desc *transport_out_des)

Detailed Description

message context 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.

Define Documentation

#define AXIS2_CHARACTER_SET_ENCODING   "AXIS2_CHARACTER_SET_ENCODING"

character set encoding

#define AXIS2_DEFAULT_CHAR_SET_ENCODING   "UTF-8"

default char set encoding; This is the default value for AXIS2_CHARACTER_SET_ENCODING property

#define AXIS2_HTTP_CLIENT   "AXIS2_HTTP_CLIENT"

HTTP Client

#define AXIS2_MSG_CTX_FIND_OP ( msg_ctx,
env,
svc   )     ((msg_ctx)->ops->find_op(msg_ctx, env, svc))

Finds operation.

See also:
axis2_msg_ctx_ops::find_op

#define AXIS2_MSG_CTX_FIND_SVC ( msg_ctx,
env   )     ((msg_ctx)->ops->find_svc(msg_ctx, env))

Finds service.

See also:
axis2_msg_ctx_ops::find_svc

#define AXIS2_MSG_CTX_FREE ( msg_ctx,
env   )     ((msg_ctx)->ops->free(msg_ctx, env))

Frees message context.

See also:
axis2_msg_ctx_ops::free

#define AXIS2_MSG_CTX_GET_BASE ( msg_ctx,
env   )     ((msg_ctx)->ops->get_base(msg_ctx, env))

Gets base context struct.

See also:
axis2_msg_ctx_ops::get_base

#define AXIS2_MSG_CTX_GET_CONF_CTX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_conf_ctx(msg_ctx, env))

Gets configuration context.

See also:
axis2_msg_ctx_ops::get_conf_ctx

#define AXIS2_MSG_CTX_GET_CURRENT_HANDLER_INDEX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_current_handler_index(msg_ctx, env))

Gets current handler index.

See also:
axis2_msg_ctx_ops::get_current_handler_index

#define AXIS2_MSG_CTX_GET_CURRENT_PHASE_INDEX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_current_phase_index(msg_ctx, env))

Gets current phase index.

See also:
axis2_msg_ctx_ops::get_current_phase_index

#define AXIS2_MSG_CTX_GET_DOING_MTOM ( msg_ctx,
env   )     ((msg_ctx)->ops->get_doing_mtom(msg_ctx, env))

Gets bool value indicating whether MTOM is enabled.

See also:
axis2_msg_ctx_ops::get_doing_mtom

#define AXIS2_MSG_CTX_GET_DOING_REST ( msg_ctx,
env   )     ((msg_ctx)->ops->get_doing_rest(msg_ctx, env))

Gets bool value indicating whether REST is enabled.

See also:
axis2_msg_ctx_ops::get_doing_rest

#define AXIS2_MSG_CTX_GET_EXECUTION_CHAIN ( msg_ctx,
env   )     ((msg_ctx)->ops->get_execution_chain(msg_ctx, env))

Gets execution chain.

See also:
axis2_msg_ctx_ops::get_execution_chain

#define AXIS2_MSG_CTX_GET_FAULT_SOAP_ENVELOPE ( msg_ctx,
env   )     ((msg_ctx)->ops->get_fault_soap_envelope(msg_ctx, env))

Gets fault SOAP envelope.

See also:
axis2_msg_ctx_ops::get_fault_soap_envelope

#define AXIS2_MSG_CTX_GET_FAULT_TO ( msg_ctx,
env   )     ((msg_ctx)->ops->get_fault_to(msg_ctx, env))

Gets WS-Addressing fault to address.

See also:
axis2_msg_ctx_ops::get_fault_to

#define AXIS2_MSG_CTX_GET_FLOW ( msg_ctx,
env   )     ((msg_ctx)->ops->get_flow(msg_ctx, env))

Gets flow.

See also:
axis2_msg_ctx_ops::get_flow

#define AXIS2_MSG_CTX_GET_FROM ( msg_ctx,
env   )     ((msg_ctx)->ops->get_from(msg_ctx, env))

Gets WS-Addressing from address.

See also:
axis2_msg_ctx_ops::get_from

#define AXIS2_MSG_CTX_GET_IN_FAULT_FLOW ( msg_ctx,
env   )     ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env))

Gets in fault flow.

See also:
axis2_msg_ctx_ops::get_in_fault_flow

#define AXIS2_MSG_CTX_GET_IS_SOAP_11 ( msg_ctx,
env   )     ((msg_ctx)->ops->get_is_soap_11(msg_ctx, env))

Gets bool value indicating the SOAP version in use.

See also:
axis2_msg_ctx_ops::set_is_soap_11

#define AXIS2_MSG_CTX_GET_MODULE_PARAMETER ( msg_ctx,
env,
key,
module_name,
handler_desc   )     ((msg_ctx)->ops->get_module_parameter(msg_ctx, env, key, module_name, handler_desc))

Gets module parameter corresponding to given key, module name and handler description.

See also:
axis2_msg_ctx_ops::get_module_parameter

#define AXIS2_MSG_CTX_GET_MSG_ID ( msg_ctx,
env   )     ((msg_ctx)->ops->get_msg_id(msg_ctx, env))

Gets message ID.

See also:
axis2_msg_ctx_ops::get_msg_id

#define AXIS2_MSG_CTX_GET_MSG_INFO_HEADERS ( msg_ctx,
env   )     ((msg_ctx)->ops->get_msg_info_headers(msg_ctx, env))

Gets WS-Addressing message information headers.

See also:
axis2_msg_ctx_ops::get_msg_info_headers

#define AXIS2_MSG_CTX_GET_NEW_THREAD_REQUIRED ( msg_ctx,
env   )     ((msg_ctx)->ops->set_response_written(msg_ctx, env))

Gets bool value indicating if a new thread required in invocation.

See also:
axis2_msg_ctx_ops::get_new_thread_required

#define AXIS2_MSG_CTX_GET_OP ( msg_ctx,
env   )     ((msg_ctx)->ops->get_op(msg_ctx, env))

Gets operation to be invoked.

See also:
axis2_msg_ctx_ops::get_op

#define AXIS2_MSG_CTX_GET_OP_CTX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_op_ctx(msg_ctx, env))

Gets operation context.

See also:
axis2_msg_ctx_ops::get_op_ctx

#define AXIS2_MSG_CTX_GET_OUTPUT_WRITTEN ( msg_ctx,
env   )     ((msg_ctx)->ops->get_output_written(msg_ctx, env))

Gets bool value indicating output written status.

See also:
axis2_msg_ctx_ops::get_output_written

#define AXIS2_MSG_CTX_GET_PARAMETER ( msg_ctx,
env,
key   )     ((msg_ctx)->ops->get_parameter(msg_ctx, env, key))

Gets parameter with the given key.

See also:
axis2_msg_ctx_ops::get_parameter

#define AXIS2_MSG_CTX_GET_PARENT ( msg_ctx,
env   )     ((msg_ctx)->ops->get_parent(msg_ctx, env))

Gets parent operation context.

See also:
axis2_msg_ctx_ops::get_parent

#define AXIS2_MSG_CTX_GET_PAUSED ( msg_ctx,
env   )     ((msg_ctx)->ops->get_paused(msg_ctx, env))

Gets bool value indicating the paused status of invocation.

See also:
axis2_msg_ctx_ops::get_paused

#define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_INDEX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_paused_handler_index(msg_ctx, env))

Gets paused handler index.

See also:
axis2_msg_ctx_ops::get_paused_handler_index

#define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_NAME ( msg_ctx,
env   )     ((msg_ctx)->ops->get_paused_handler_name(msg_ctx, env))

Gets name of the handler at which invocation was paused.

See also:
axis2_msg_ctx_ops::get_paused_handler_name

#define AXIS2_MSG_CTX_GET_PAUSED_PHASE_INDEX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_paused_phase_index(msg_ctx, env))

Gets paused phase index.

See also:
axis2_msg_ctx_ops::get_paused_phase_index

#define AXIS2_MSG_CTX_GET_PAUSED_PHASE_NAME ( msg_ctx,
env   )     ((msg_ctx)->ops->get_paused_phase_name(msg_ctx, env))

Gets name of the phase at which invocation was paused.

See also:
axis2_msg_ctx_ops::get_paused_phase_name

#define AXIS2_MSG_CTX_GET_PROCESS_FAULT ( msg_ctx,
env   )     ((msg_ctx)->ops->get_process_fault(msg_ctx, env))

Gets bool value indicating if to process SOAP fault or not.

See also:
axis2_msg_ctx_ops::get_process_fault

#define AXIS2_MSG_CTX_GET_PROPERTY ( msg_ctx,
env,
key,
persistent   )     ((msg_ctx)->ops->get_property(msg_ctx, env, key, persistent))

Gets property with given key.

See also:
axis2_msg_ctx_ops::get_property

#define AXIS2_MSG_CTX_GET_RELATES_TO ( msg_ctx,
env   )     ((msg_ctx)->ops->get_relates_to(msg_ctx, env))

Gets WS-Addressing relates to information.

See also:
axis2_msg_ctx_ops::get_relates_to

#define AXIS2_MSG_CTX_GET_REPLY_TO ( msg_ctx,
env   )     ((msg_ctx)->ops->get_reply_to(msg_ctx, env))

Gets WS-Addressing reply to address.

See also:
axis2_msg_ctx_ops::get_reply_to

#define AXIS2_MSG_CTX_GET_RESPONSE_WRITTEN ( msg_ctx,
env   )     ((msg_ctx)->ops->get_response_written(msg_ctx, env))

Gets bool value indicating response written status.

See also:
axis2_msg_ctx_ops::get_response_written

#define AXIS2_MSG_CTX_GET_SERVER_SIDE ( msg_ctx,
env   )     ((msg_ctx)->ops->get_server_side(msg_ctx, env))

Gets bool value indicating whether the invocation is happening on server side or client side.

See also:
axis2_msg_ctx_ops::get_server_side

#define AXIS2_MSG_CTX_GET_SOAP_ACTION ( msg_ctx,
env   )     ((msg_ctx)->ops->get_soap_action(msg_ctx, env))

Gets SOAP action.

See also:
axis2_msg_ctx_ops::get_soap_action

#define AXIS2_MSG_CTX_GET_SOAP_ENVELOPE ( msg_ctx,
env   )     ((msg_ctx)->ops->get_soap_envelope(msg_ctx, env))

Gets SOAP envelope.

See also:
axis2_msg_ctx_ops::get_soap_envelope

#define AXIS2_MSG_CTX_GET_SVC ( msg_ctx,
env   )     ((msg_ctx)->ops->get_svc(msg_ctx, env))

Gets service to be invoked.

See also:
axis2_msg_ctx_ops::get_svc

#define AXIS2_MSG_CTX_GET_SVC_CTX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_svc_ctx(msg_ctx, env))

Gets service context.

See also:
axis2_msg_ctx_ops::get_svc_ctx

#define AXIS2_MSG_CTX_GET_SVC_CTX_ID ( msg_ctx,
env   )     ((msg_ctx)->ops->get_svc_ctx_id(msg_ctx, env))

Gets service context ID.

See also:
axis2_msg_ctx_ops::get_svc_ctx_id

#define AXIS2_MSG_CTX_GET_SVC_GRP ( msg_ctx,
env   )     ((msg_ctx)->ops->get_svc_grp(msg_ctx, env))

Gets service group.

See also:
axis2_msg_ctx_ops::get_svc_grp

#define AXIS2_MSG_CTX_GET_SVC_GRP_CTX ( msg_ctx,
env   )     ((msg_ctx)->ops->get_svc_grp_ctx(msg_ctx, env))

Gets service group context.

See also:
axis2_msg_ctx_ops::get_svc_grp_ctx

#define AXIS2_MSG_CTX_GET_SVC_GRP_CTX_ID ( msg_ctx,
env   )     ((msg_ctx)->ops->get_svc_grp_ctx_id(msg_ctx, env))

Gets service group context ID.

See also:
axis2_msg_ctx_ops::get_svc_grp_ctx_id

#define AXIS2_MSG_CTX_GET_TO ( msg_ctx,
env   )     ((msg_ctx)->ops->get_to(msg_ctx, env))

Gets WS-Addressing to address.

See also:
axis2_msg_ctx_ops::get_to

#define AXIS2_MSG_CTX_GET_TRANSPORT_IN_DESC ( msg_ctx,
env   )     ((msg_ctx)->ops->get_transport_in_desc(msg_ctx, env))

Gets transport in description.

See also:
axis2_msg_ctx_ops::get_transport_in_desc

#define AXIS2_MSG_CTX_GET_TRANSPORT_OUT_DESC ( msg_ctx,
env   )     ((msg_ctx)->ops->get_transport_out_desc(msg_ctx, env))

Gets transport out description.

See also:
axis2_msg_ctx_ops::get_transport_out_desc

#define AXIS2_MSG_CTX_GET_WSA_ACTION ( msg_ctx,
env   )     ((msg_ctx)->ops->get_wsa_action(msg_ctx, env))

Gets WS-Addressing action.

See also:
axis2_msg_ctx_ops::get_wsa_action

#define AXIS2_MSG_CTX_GET_WSA_MESSAGE_ID ( msg_ctx,
env   )     ((msg_ctx)->ops->get_wsa_message_id(msg_ctx, env))

Gets WS-Addressing message ID.

See also:
axis2_msg_ctx_ops::get_wsa_message_id

#define AXIS2_MSG_CTX_INIT ( msg_ctx,
env,
conf   )     ((msg_ctx)->ops->init(msg_ctx, env, conf))

Initializes message context.

See also:
axis2_msg_ctx_ops::init

#define AXIS2_MSG_CTX_IS_KEEP_ALIVE ( msg_ctx,
env   )     ((msg_ctx)->ops->is_keep_alive(msg_ctx, env))

Gets bool value indicating the keep alive status of invocation.

See also:
axis2_msg_ctx_ops::is_keep_alive

#define AXIS2_MSG_CTX_IS_PAUSED ( msg_ctx,
env   )     ((msg_ctx)->ops->is_paused(msg_ctx, env))

Gets bool value indicating whether invocation is paused.

See also:
axis2_msg_ctx_ops::is_paused

#define AXIS2_MSG_CTX_SET_CONF_CTX ( msg_ctx,
env,
conf_ctx   )     ((msg_ctx)->ops->set_conf_ctx(msg_ctx, env, conf_ctx))

Sets configuration context.

See also:
axis2_msg_ctx_ops::set_conf_ctx

#define AXIS2_MSG_CTX_SET_CURRENT_HANDLER_INDEX ( msg_ctx,
env,
index   )     ((msg_ctx)->ops->set_current_handler_index(msg_ctx, env, index))

Sets current handler index.

See also:
axis2_msg_ctx_ops::set_current_handler_index

#define AXIS2_MSG_CTX_SET_CURRENT_PHASE_INDEX ( msg_ctx,
env,
index   )     ((msg_ctx)->ops->set_current_phase_index(msg_ctx, env, index))

Sets current phase index.

See also:
axis2_msg_ctx_ops::set_current_phase_index

#define AXIS2_MSG_CTX_SET_DO_REST_THROUGH_POST ( msg_ctx,
env,
do_rest_through_post   )     ((msg_ctx)->ops->set_do_rest_through_post(msg_ctx, env, do_rest_through_post))

Sets bool value indicating whether REST should be done with HTTP POST.

See also:
axis2_msg_ctx_ops::set_do_rest_through_post

#define AXIS2_MSG_CTX_SET_DOING_MTOM ( msg_ctx,
env,
doing_mtom   )     ((msg_ctx)->ops->set_doing_mtom(msg_ctx, env, doing_mtom))

Sets bool value indicating whether MTOM is enabled.

See also:
axis2_msg_ctx_ops::set_doing_mtom

#define AXIS2_MSG_CTX_SET_DOING_REST ( msg_ctx,
env,
doing_rest   )     ((msg_ctx)->ops->set_doing_rest(msg_ctx, env, doing_rest))

Sets bool value indicating whether REST is enabled.

See also:
axis2_msg_ctx_ops::set_doing_rest

#define AXIS2_MSG_CTX_SET_EXECUTION_CHAIN ( msg_ctx,
env,
chain   )     ((msg_ctx)->ops->set_execution_chain(msg_ctx, env, chain))

Sets execution chain.

See also:
axis2_msg_ctx_ops::set_execution_chain

#define AXIS2_MSG_CTX_SET_FAULT_SOAP_ENVELOPE ( msg_ctx,
env,
soap_envelope   )     ((msg_ctx)->ops->set_fault_soap_envelope(msg_ctx, env, soap_envelope))

Sets fault SOAP envelope.

See also:
axis2_msg_ctx_ops::set_fault_soap_envelope

#define AXIS2_MSG_CTX_SET_FAULT_TO ( msg_ctx,
env,
reference   )     ((msg_ctx)->ops->set_fault_to(msg_ctx, env, reference))

Sets WS-Addressing fault to address.

See also:
axis2_msg_ctx_ops::set_fault_to

#define AXIS2_MSG_CTX_SET_FLOW ( msg_ctx,
env,
flow   )     ((msg_ctx)->ops->set_flow(msg_ctx, env, flow))

Sets flow.

See also:
axis2_msg_ctx_ops::set_flow

#define AXIS2_MSG_CTX_SET_FROM ( msg_ctx,
env,
reference   )     ((msg_ctx)->ops->set_from(msg_ctx, env, reference))

Sets WS-Addressing from address.

See also:
axis2_msg_ctx_ops::set_from

#define AXIS2_MSG_CTX_SET_IN_FAULT_FLOW ( msg_ctx,
env,
in_fault_flow   )     ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env, in_fault_flow))

Sets in fault flow.

See also:
axis2_msg_ctx_ops::set_in_fault_flow

#define AXIS2_MSG_CTX_SET_IS_SOAP_11 ( msg_ctx,
env,
is_soap11   )     ((msg_ctx)->ops->set_is_soap_11(msg_ctx, env, is_soap11))

Sets bool value indicating the SOAP version in use.

See also:
axis2_msg_ctx_ops::set_is_soap_11

#define AXIS2_MSG_CTX_SET_KEEP_ALIVE ( msg_ctx,
env,
keep_alive   )     ((msg_ctx)->ops->set_keep_alive(msg_ctx, env, keep_alive))

Sets bool value indicating the keep alive status of invocation.

See also:
axis2_msg_ctx_ops::set_keep_alive

#define AXIS2_MSG_CTX_SET_MESSAGE_ID ( msg_ctx,
env,
message_id   )     ((msg_ctx)->ops->set_message_id(msg_ctx, env, message_id))

Sets the message ID.

See also:
axis2_msg_ctx_ops::set_message_id

#define AXIS2_MSG_CTX_SET_MSG_INFO_HEADERS ( msg_ctx,
env,
msg_info_headers   )     ((msg_ctx)->ops->set_msg_info_headers(msg_ctx, env, msg_info_headers))

Sets WS-Addressing message information headers.

See also:
axis2_msg_ctx_ops::set_msg_info_headers

#define AXIS2_MSG_CTX_SET_NEW_THREAD_REQUIRED ( msg_ctx,
env,
new_thread_required   )     ((msg_ctx)->ops->set_response_written(msg_ctx, env, new_thread_required))

Sets bool value indicating if a new thread required in invocation.

See also:
axis2_msg_ctx_ops::set_new_thread_required

#define AXIS2_MSG_CTX_SET_OP ( msg_ctx,
env,
op   )     ((msg_ctx)->ops->set_op(msg_ctx, env, op))

Sets operation to be invoked.

See also:
axis2_msg_ctx_ops::set_op

#define AXIS2_MSG_CTX_SET_OP_CTX ( msg_ctx,
env,
op_ctx   )     ((msg_ctx)->ops->set_op_ctx(msg_ctx, env, op_ctx))

Sets operation context.

See also:
axis2_msg_ctx_ops::set_op_ctx

#define AXIS2_MSG_CTX_SET_OPTIONS ( msg_ctx,
env,
options   )     ((msg_ctx)->ops->set_options(msg_ctx, env, options))

Sets options.

See also:
axis2_msg_ctx_ops::set_options

#define AXIS2_MSG_CTX_SET_OUTPUT_WRITTEN ( msg_ctx,
env,
output_written   )     ((msg_ctx)->ops->set_output_written(msg_ctx, env, output_written))

Sets bool value indicating output written status.

See also:
axis2_msg_ctx_ops::set_output_written

#define AXIS2_MSG_CTX_SET_PARENT ( msg_ctx,
env,
parent   )     ((msg_ctx)->ops->get_parent(msg_ctx, env, parent))

Sets parent operation context.

See also:
axis2_msg_ctx_ops::set_parent

#define AXIS2_MSG_CTX_SET_PAUSED ( msg_ctx,
env,
paused   )     ((msg_ctx)->ops->set_paused(msg_ctx, env, paused))

Sets bool value indicating the paused status of invocation.

See also:
axis2_msg_ctx_ops::set_paused

#define AXIS2_MSG_CTX_SET_PAUSED_PHASE_NAME ( msg_ctx,
env,
paused_phase_name   )     ((msg_ctx)->ops->set_paused_phase_name(msg_ctx, env, paused_phase_name))

Sets name of the phase at which invocation was paused.

See also:
axis2_msg_ctx_ops::set_paused_phase_name

#define AXIS2_MSG_CTX_SET_PROCESS_FAULT ( msg_ctx,
env,
process_fault   )     ((msg_ctx)->ops->set_process_fault(msg_ctx, env, process_fault))

Sets bool value indicating whether to process SOAP fault.

See also:
axis2_msg_ctx_ops::set_process_fault

#define AXIS2_MSG_CTX_SET_PROPERTY ( msg_ctx,
env,
key,
value,
persistent   )     ((msg_ctx)->ops->set_property(msg_ctx, env, key, value, persistent))

Sets property with given key.

See also:
axis2_msg_ctx_ops::set_property

#define AXIS2_MSG_CTX_SET_RELATES_TO ( msg_ctx,
env,
reference   )     ((msg_ctx)->ops->set_relates_to(msg_ctx, env, reference))

Sets WS-Addressing relates to information.

See also:
axis2_msg_ctx_ops::set_relates_to

#define AXIS2_MSG_CTX_SET_REPLY_TO ( msg_ctx,
env,
reference   )     ((msg_ctx)->ops->set_reply_to(msg_ctx, env, reference))

Sets WS-Addressing reply to address.

See also:
axis2_msg_ctx_ops::set_reply_to

#define AXIS2_MSG_CTX_SET_RESPONSE_WRITTEN ( msg_ctx,
env,
response_written   )     ((msg_ctx)->ops->set_response_written(msg_ctx, env, response_written))

Sets bool value indicating response written status.

See also:
axis2_msg_ctx_ops::set_response_written

#define AXIS2_MSG_CTX_SET_SERVER_SIDE ( msg_ctx,
env,
server_side   )     ((msg_ctx)->ops->set_server_side(msg_ctx, env, server_side))

Sets bool value indicating whether the invocation is happening on server side or client side.

See also:
axis2_msg_ctx_ops::set_server_side

#define AXIS2_MSG_CTX_SET_SOAP_ACTION ( msg_ctx,
env,
soap_action   )     ((msg_ctx)->ops->set_soap_action(msg_ctx, env, soap_action))

Sets SOAP action.

See also:
axis2_msg_ctx_ops::set_soap_action

#define AXIS2_MSG_CTX_SET_SOAP_ENVELOPE ( msg_ctx,
env,
soap_envelope   )     ((msg_ctx)->ops->set_soap_envelope(msg_ctx, env, soap_envelope))

Sets SOAP envelope.

See also:
axis2_msg_ctx_ops::set_soap_envelope

#define AXIS2_MSG_CTX_SET_SVC ( msg_ctx,
env,
svc   )     ((msg_ctx)->ops->set_svc(msg_ctx, env, svc))

Sets service to be invoked.

See also:
axis2_msg_ctx_ops::set_svc

#define AXIS2_MSG_CTX_SET_SVC_CTX ( msg_ctx,
env,
svc_ctx   )     ((msg_ctx)->ops->set_svc_ctx(msg_ctx, env, svc_ctx))

Sets service context.

See also:
axis2_msg_ctx_ops::set_svc_ctx

#define AXIS2_MSG_CTX_SET_SVC_CTX_ID ( msg_ctx,
env,
svc_ctx_id   )     ((msg_ctx)->ops->set_svc_ctx_id(msg_ctx, env, svc_ctx_id))

Sets service context ID.

See also:
axis2_msg_ctx_ops::set_svc_ctx_id

#define AXIS2_MSG_CTX_SET_SVC_GRP ( msg_ctx,
env,
svc_grp   )     ((msg_ctx)->ops->set_svc_grp(msg_ctx, env, svc_grp))

Sets service group.

See also:
axis2_msg_ctx_ops::set_svc_grp

#define AXIS2_MSG_CTX_SET_SVC_GRP_CTX ( msg_ctx,
env,
svc_grp_ctx   )     ((msg_ctx)->ops->set_svc_grp_ctx(msg_ctx, env, svc_grp_ctx))

Sets service group context.

See also:
axis2_msg_ctx_ops::set_svc_grp_ctx

#define AXIS2_MSG_CTX_SET_SVC_GRP_CTX_ID ( msg_ctx,
env,
svc_grp_ctx_id   )     ((msg_ctx)->ops->set_svc_grp_ctx_id(msg_ctx, env, svc_grp_ctx_id))

Sets the service group context ID.

See also:
axis2_msg_ctx_ops::set_svc_grp_ctx_id

#define AXIS2_MSG_CTX_SET_TO ( msg_ctx,
env,
reference   )     ((msg_ctx)->ops->set_to(msg_ctx, env, reference))

Sets WS-Addressing to address.

See also:
axis2_msg_ctx_ops::set_to

#define AXIS2_MSG_CTX_SET_TRANSPORT_IN_DESC ( msg_ctx,
env,
transport_in_desc   )     ((msg_ctx)->ops->set_transport_in_desc(msg_ctx, env, transport_in_desc))

Sets transport in description.

See also:
axis2_msg_ctx_ops::set_transport_in_desc

#define AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC ( msg_ctx,
env,
transport_out_desc   )     ((msg_ctx)->ops->set_transport_out_desc(msg_ctx, env, transport_out_desc))

Sets transport out description.

See also:
axis2_msg_ctx_ops::set_transport_out_desc

#define AXIS2_MSG_CTX_SET_WSA_ACTION ( msg_ctx,
env,
action_uri   )     ((msg_ctx)->ops->set_wsa_action(msg_ctx, env, action_uri))

Sets WS-Addressing action.

See also:
axis2_msg_ctx_ops::set_wsa_action

#define AXIS2_MSG_CTX_SET_WSA_MESSAGE_ID ( msg_ctx,
env,
message_id   )     ((msg_ctx)->ops->set_wsa_message_id(msg_ctx, env, message_id))

Sets WS-Addressing message ID.

See also:
axis2_msg_ctx_ops::set_wsa_message_id

#define AXIS2_TRANSPORT_HEADERS   "AXIS2_TRANSPORT_HEADERS"

transport headers

#define AXIS2_TRANSPORT_IN   "AXIS2_TRANSPORT_IN"

transport out

#define AXIS2_TRANSPORT_OUT   "AXIS2_TRANSPORT_OUT"

transport in

#define AXIS2_TRANSPORT_SUCCEED   "AXIS2_TRANSPORT_SUCCEED"

transport succeeded

#define AXIS2_TRANSPORT_URL   "TransportURL"

Transport URL

#define AXIS2_UTF_16   "utf-16"

UTF_16; This is the 'utf-16' value for AXIS2_CHARACTER_SET_ENCODING property

#define AXIS2_UTF_8   "UTF-8"

UTF_8; This is the 'utf-8' value for AXIS2_CHARACTER_SET_ENCODING property


Typedef Documentation

typedef struct axis2_msg_ctx_ops axis2_msg_ctx_ops_t

Type name for struct axis2_msg_ctx_ops

typedef struct axis2_msg_ctx axis2_msg_ctx_t

Type name for struct axis2_msg_ctx


Function Documentation

AXIS2_EXTERN axis2_msg_ctx_t* axis2_msg_ctx_create ( const axis2_env_t env,
struct axis2_conf_ctx conf_ctx,
struct axis2_transport_in_desc transport_in_desc,
struct axis2_transport_out_desc transport_out_des 
)

Creates a message context struct instance.

Parameters:
env pointer to environment struct
conf_ctx pointer to configuration context struct, message context does not assume the ownership of the struct
transport_in_desc pointer to transport in description struct, message context does not assume the ownership of the struct
transport_out_desc pointer to transport out description struct, message context does not assume the ownership of the struct
Returns:
pointer to newly created message context instance


Generated on Thu Oct 26 21:11:35 2006 for Axis2/C by  doxygen 1.4.7