Files | |
file | axis2_msg_ctx.h |
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_SVR_PEER_IP_ADDR "peer_ip_addr" |
Typedefs | |
typedef struct axis2_msg_ctx | axis2_msg_ctx_t |
typedef struct axis2_svc *(* | AXIS2_MSG_CTX_FIND_SVC )(axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
typedef struct axis2_op *(* | AXIS2_MSG_CTX_FIND_OP )(axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_svc *svc) |
Functions | |
AXIS2_EXTERN axis2_msg_ctx_t * | axis2_msg_ctx_create (const axutil_env_t *env, struct axis2_conf_ctx *conf_ctx, struct axis2_transport_in_desc *transport_in_desc, struct axis2_transport_out_desc *transport_out_desc) |
AXIS2_EXTERN axis2_ctx_t * | axis2_msg_ctx_get_base (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axis2_op_ctx * | axis2_msg_ctx_get_parent (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
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) |
AXIS2_EXTERN void | axis2_msg_ctx_free (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_init (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_conf *conf) |
AXIS2_EXTERN axis2_endpoint_ref_t * | axis2_msg_ctx_get_fault_to (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_endpoint_ref_t * | axis2_msg_ctx_get_from (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_in_fault_flow (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axiom_soap_envelope * | axis2_msg_ctx_get_soap_envelope (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axiom_soap_envelope * | axis2_msg_ctx_get_response_soap_envelope (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axiom_soap_envelope * | axis2_msg_ctx_get_fault_soap_envelope (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_msg_id (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_char_t *msg_id) |
AXIS2_EXTERN const axis2_char_t * | axis2_msg_ctx_get_msg_id (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_process_fault (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_relates_to_t * | axis2_msg_ctx_get_relates_to (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_endpoint_ref_t * | axis2_msg_ctx_get_reply_to (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_server_side (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_endpoint_ref_t * | axis2_msg_ctx_get_to (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_fault_to (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_endpoint_ref_t *reference) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_from (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_endpoint_ref_t *reference) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_in_fault_flow (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t in_fault_flow) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_soap_envelope (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axiom_soap_envelope *soap_envelope) |
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) |
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) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_message_id (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *message_id) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_process_fault (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t process_fault) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_relates_to (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_relates_to_t *reference) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_reply_to (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_endpoint_ref_t *reference) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_server_side (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t server_side) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_to (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_endpoint_ref_t *reference) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_new_thread_required (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_new_thread_required (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t new_thread_required) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_wsa_action (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *action_uri) |
AXIS2_EXTERN const axis2_char_t * | axis2_msg_ctx_get_wsa_action (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_wsa_message_id (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *message_id) |
AXIS2_EXTERN const axis2_char_t * | axis2_msg_ctx_get_wsa_message_id (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_msg_info_headers_t * | axis2_msg_ctx_get_msg_info_headers (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_paused (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_paused (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t paused) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_is_keep_alive (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_keep_alive (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t keep_alive) |
AXIS2_EXTERN struct axis2_transport_in_desc * | axis2_msg_ctx_get_transport_in_desc (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axis2_transport_out_desc * | axis2_msg_ctx_get_transport_out_desc (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_transport_in_desc (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_transport_in_desc *transport_in_desc) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_transport_out_desc (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_transport_out_desc *transport_out_desc) |
AXIS2_EXTERN struct axis2_op_ctx * | axis2_msg_ctx_get_op_ctx (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_op_ctx (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_op_ctx *op_ctx) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_output_written (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_output_written (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t output_written) |
AXIS2_EXTERN const axis2_char_t * | axis2_msg_ctx_get_rest_http_method (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_rest_http_method (struct axis2_msg_ctx *msg_ctx, const axutil_env_t *env, const axis2_char_t *rest_http_method) |
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) |
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) |
AXIS2_EXTERN struct axis2_conf_ctx * | axis2_msg_ctx_get_conf_ctx (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axis2_svc_ctx * | axis2_msg_ctx_get_svc_ctx (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_conf_ctx (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_conf_ctx *conf_ctx) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_svc_ctx (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_svc_ctx *svc_ctx) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_msg_info_headers (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_msg_info_headers_t *msg_info_headers) |
AXIS2_EXTERN axutil_param_t * | axis2_msg_ctx_get_parameter (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *key) |
AXIS2_EXTERN axutil_param_t * | axis2_msg_ctx_get_module_parameter (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *key, const axis2_char_t *module_name, axis2_handler_desc_t *handler_desc) |
AXIS2_EXTERN axutil_property_t * | axis2_msg_ctx_get_property (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *key) |
AXIS2_EXTERN void * | axis2_msg_ctx_get_property_value (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *property_str) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_property (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *key, axutil_property_t *value) |
AXIS2_EXTERN const axutil_string_t * | axis2_msg_ctx_get_paused_handler_name (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN const axis2_char_t * | axis2_msg_ctx_get_paused_phase_name (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_paused_phase_name (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *paused_phase_name) |
AXIS2_EXTERN axutil_string_t * | axis2_msg_ctx_get_soap_action (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_soap_action (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_string_t *soap_action) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_doing_mtom (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_doing_mtom (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t doing_mtom) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_doing_rest (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_doing_rest (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t doing_rest) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_do_rest_through_post (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t do_rest_through_post) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_do_rest_through_post (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_manage_session (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_manage_session (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t manage_session) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_is_soap_11 (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_is_soap_11 (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t is_soap11) |
AXIS2_EXTERN struct axis2_svc_grp_ctx * | axis2_msg_ctx_get_svc_grp_ctx (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_svc_grp_ctx (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_svc_grp_ctx *svc_grp_ctx) |
AXIS2_EXTERN struct axis2_op * | axis2_msg_ctx_get_op (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_op (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_op *op) |
AXIS2_EXTERN struct axis2_svc * | axis2_msg_ctx_get_svc (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_svc (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_svc *svc) |
AXIS2_EXTERN struct axis2_svc_grp * | axis2_msg_ctx_get_svc_grp (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_svc_grp (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_svc_grp *svc_grp) |
AXIS2_EXTERN const axutil_string_t * | axis2_msg_ctx_get_svc_grp_ctx_id (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_svc_grp_ctx_id (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_string_t *svc_grp_ctx_id) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_find_svc (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, AXIS2_MSG_CTX_FIND_SVC func) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_find_op (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, AXIS2_MSG_CTX_FIND_OP func) |
AXIS2_EXTERN struct axis2_svc * | axis2_msg_ctx_find_svc (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axis2_op * | axis2_msg_ctx_find_op (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_svc *svc) |
AXIS2_EXTERN struct axis2_options * | axis2_msg_ctx_get_options (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_is_paused (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_options (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_options *options) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_flow (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, int flow) |
AXIS2_EXTERN int | axis2_msg_ctx_get_flow (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_supported_rest_http_methods (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_array_list_t *supported_rest_http_methods) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_get_supported_rest_http_methods (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_execution_chain (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_array_list_t *execution_chain) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_get_execution_chain (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_current_handler_index (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const int index) |
AXIS2_EXTERN int | axis2_msg_ctx_get_current_handler_index (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN int | axis2_msg_ctx_get_paused_handler_index (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_current_phase_index (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const int index) |
AXIS2_EXTERN int | axis2_msg_ctx_get_current_phase_index (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN int | axis2_msg_ctx_get_paused_phase_index (const axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_string_t * | axis2_msg_ctx_get_charset_encoding (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_charset_encoding (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_string_t *str) |
AXIS2_EXTERN int | axis2_msg_ctx_get_status_code (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_status_code (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const int status_code) |
AXIS2_EXTERN axutil_stream_t * | axis2_msg_ctx_get_transport_out_stream (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_transport_out_stream (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_stream_t *stream) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_reset_transport_out_stream (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN struct axis2_out_transport_info * | axis2_msg_ctx_get_out_transport_info (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_out_transport_info (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_out_transport_info *out_transport_info) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_reset_out_transport_info (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_hash_t * | axis2_msg_ctx_get_transport_headers (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_hash_t * | axis2_msg_ctx_extract_transport_headers (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_transport_headers (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_hash_t *transport_headers) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_get_http_accept_charset_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_extract_http_accept_charset_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_http_accept_charset_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_array_list_t *accept_charset_record_list) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_get_http_accept_language_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_extract_http_accept_language_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_http_accept_language_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_array_list_t *accept_language_record_list) |
AXIS2_EXTERN axis2_char_t * | axis2_msg_ctx_get_content_language (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_content_language (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_char_t *str) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_get_http_accept_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_extract_http_accept_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_http_accept_record_list (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_array_list_t *accept_record_list) |
AXIS2_EXTERN axis2_char_t * | axis2_msg_ctx_get_transfer_encoding (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_transfer_encoding (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_char_t *str) |
AXIS2_EXTERN axis2_char_t * | axis2_msg_ctx_get_transport_url (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_transport_url (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axis2_char_t *str) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_no_content (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_no_content (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t no_content) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_auth_failed (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_auth_failed (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t status) |
AXIS2_EXTERN axis2_bool_t | axis2_msg_ctx_get_required_auth_is_http (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_required_auth_is_http (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_bool_t is_http) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_auth_type (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, const axis2_char_t *auth_type) |
AXIS2_EXTERN axis2_char_t * | axis2_msg_ctx_get_auth_type (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_get_http_output_headers (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_extract_http_output_headers (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_set_http_output_headers (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_array_list_t *output_headers) |
AXIS2_EXTERN axutil_array_list_t * | axis2_msg_ctx_get_mime_parts (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
AXIS2_EXTERN void | axis2_msg_ctx_set_mime_parts (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, axutil_array_list_t *mime_parts) |
AXIS2_EXTERN axis2_status_t | axis2_msg_ctx_increment_ref (axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
#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_SVR_PEER_IP_ADDR "peer_ip_addr" |
PEER IP Address of Server
#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 struct axis2_op*( * AXIS2_MSG_CTX_FIND_OP)(axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env, struct axis2_svc *svc) |
Type name for pointer to a function to find an operation in a service
typedef struct axis2_svc*( * AXIS2_MSG_CTX_FIND_SVC)(axis2_msg_ctx_t *msg_ctx, const axutil_env_t *env) |
Type name for pointer to a function to find a service
typedef struct axis2_msg_ctx axis2_msg_ctx_t |
Type name for struct axis2_msg_ctx
AXIS2_EXTERN axis2_msg_ctx_t* axis2_msg_ctx_create | ( | const axutil_env_t * | env, | |
struct axis2_conf_ctx * | conf_ctx, | |||
struct axis2_transport_in_desc * | transport_in_desc, | |||
struct axis2_transport_out_desc * | transport_out_desc | |||
) |
Creates a message context struct instance.
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 |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_extract_http_accept_charset_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves HTTP Accept-Charset records, and removes them from the message context
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_extract_http_accept_language_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves HTTP Accept-Language records, and removes them from the message context
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_extract_http_accept_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves HTTP Accept records, and removes them from the message context
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_extract_http_output_headers | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves the Output Headers, and removes them from the message context
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_hash_t* axis2_msg_ctx_extract_transport_headers | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves Transport Headers, and removes them from the message context
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_op* axis2_msg_ctx_find_op | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
struct axis2_svc * | svc | |||
) | [read] |
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 |
AXIS2_EXTERN struct axis2_svc* axis2_msg_ctx_find_svc | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
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_EXTERN void axis2_msg_ctx_free | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Frees message context.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_auth_failed | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets whether an authentication failure occured
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_char_t* axis2_msg_ctx_get_auth_type | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the authentication type
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_ctx_t* axis2_msg_ctx_get_base | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the base, which is of type context.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_string_t* axis2_msg_ctx_get_charset_encoding | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets character set encoding to be used.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_conf_ctx* axis2_msg_ctx_get_conf_ctx | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets configuration context.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_char_t* axis2_msg_ctx_get_content_language | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the Content Language used
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN int axis2_msg_ctx_get_current_handler_index | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN int axis2_msg_ctx_get_current_phase_index | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets index of the current phase being invoked.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_do_rest_through_post | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Sets the boolean value indicating if REST should be done through HTTP POST or not.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_doing_mtom | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the boolean value indicating if MTOM is enabled or not.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_doing_rest | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the boolean value indicating if REST is enabled or not.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_get_execution_chain | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN struct axiom_soap_envelope* axis2_msg_ctx_get_fault_soap_envelope | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets fault SOAP envelope.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_endpoint_ref_t* axis2_msg_ctx_get_fault_to | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN int axis2_msg_ctx_get_flow | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the flow to be invoked.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_endpoint_ref_t* axis2_msg_ctx_get_from | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axutil_array_list_t* axis2_msg_ctx_get_http_accept_charset_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves HTTP Accept-Charset records.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_get_http_accept_language_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves HTTP Accept-Language records.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_get_http_accept_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves HTTP Accept records.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_get_http_output_headers | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the Output Header list
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_in_fault_flow | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Checks if there is a SOAP fault on in flow.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_is_soap_11 | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_bool_t axis2_msg_ctx_get_manage_session | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets manage session bool value.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_param_t* axis2_msg_ctx_get_module_parameter | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN const axis2_char_t* axis2_msg_ctx_get_msg_id | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets message ID.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_msg_info_headers_t* axis2_msg_ctx_get_msg_info_headers | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets WS-Addressing message information headers.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_new_thread_required | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_no_content | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets whether there was no content in the response. This will cater for a situation where the invoke method in a service returns NULL when no fault has occured.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_op* axis2_msg_ctx_get_op | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets the operation that is to be invoked.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_op_ctx* axis2_msg_ctx_get_op_ctx | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets operation context related to the operation that this message context is related to.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_options* axis2_msg_ctx_get_options | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets the options to be used in invocation.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_out_transport_info* axis2_msg_ctx_get_out_transport_info | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets the HTTP Out Transport Info associated
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_output_written | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the bool value indicating the output written status.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_param_t* axis2_msg_ctx_get_parameter | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN struct axis2_op_ctx* axis2_msg_ctx_get_parent | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets parent. Parent of a message context is of type operation context.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_paused | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN int axis2_msg_ctx_get_paused_handler_index | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN const axutil_string_t* axis2_msg_ctx_get_paused_handler_name | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the QName of the handler at which invocation was paused.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN int axis2_msg_ctx_get_paused_phase_index | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the phase at which the invocation was paused.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_msg_ctx_get_paused_phase_name | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_bool_t axis2_msg_ctx_get_process_fault | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets process fault status.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_property_t* axis2_msg_ctx_get_property | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | key | |||
) |
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 |
AXIS2_EXTERN void* axis2_msg_ctx_get_property_value | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | property_str | |||
) |
Gets property value corresponding to the property given key.
msg_ctx | pointer to message context | |
env | pointer to environment struct | |
property_str | key string with which the property is stored |
AXIS2_EXTERN axis2_relates_to_t* axis2_msg_ctx_get_relates_to | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets relates to information for the message context.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_endpoint_ref_t* axis2_msg_ctx_get_reply_to | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_bool_t axis2_msg_ctx_get_required_auth_is_http | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets whether HTTP Authentication is required or whether Proxy Authentication is required
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axiom_soap_envelope* axis2_msg_ctx_get_response_soap_envelope | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets the SOAP envelope of the response.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_msg_ctx_get_rest_http_method | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the HTTP Method that relates to the service that is related to the message context.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_get_server_side | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN axutil_string_t* axis2_msg_ctx_get_soap_action | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets SOAP action.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axiom_soap_envelope* axis2_msg_ctx_get_soap_envelope | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
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 |
AXIS2_EXTERN int axis2_msg_ctx_get_status_code | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the integer value indicating http status_code.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_msg_ctx_get_supported_rest_http_methods | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the list of supported REST HTTP Methods
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_svc* axis2_msg_ctx_get_svc | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets the service to which the operation to be invoked belongs.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_svc_ctx* axis2_msg_ctx_get_svc_ctx | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets service context that relates to the service that the message context is related to.
msg_ctx | message context | |
env | pointer to environment struct |
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 | |||
) |
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 |
AXIS2_EXTERN struct axis2_svc_grp* axis2_msg_ctx_get_svc_grp | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets the service group to which the service to be invoked belongs.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_svc_grp_ctx* axis2_msg_ctx_get_svc_grp_ctx | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
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 |
AXIS2_EXTERN const axutil_string_t* axis2_msg_ctx_get_svc_grp_ctx_id | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the service group context ID.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_endpoint_ref_t* axis2_msg_ctx_get_to | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |
AXIS2_EXTERN axis2_char_t* axis2_msg_ctx_get_transfer_encoding | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the transfer encoding used
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_hash_t* axis2_msg_ctx_get_transport_headers | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Retrieves Transport Headers.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_transport_in_desc* axis2_msg_ctx_get_transport_in_desc | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets transport in description.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_transport_out_desc* axis2_msg_ctx_get_transport_out_desc | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) | [read] |
Gets transport out description.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_stream_t* axis2_msg_ctx_get_transport_out_stream | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the Transport Out Stream
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_char_t* axis2_msg_ctx_get_transport_url | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the Transport URL
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_msg_ctx_get_wsa_action | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets WS-Addressing action.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_msg_ctx_get_wsa_message_id | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets WS-Addressing message ID.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_increment_ref | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Incrementing the msg_ctx ref count. This is necessary when prevent freeing msg_ctx through op_client when it is in use as in sandesha2.
msg_ctx | pointer to message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_init | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_bool_t axis2_msg_ctx_is_keep_alive | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the bool value indicating the keep alive status. It is possible to keep alive the message context by any handler. By calling this method one can see whether it is possible to clean the message context.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_msg_ctx_is_paused | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Gets the bool value indicating the paused status.
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_reset_out_transport_info | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Resets the HTTP Out Transport Info associated
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_reset_transport_out_stream | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env | |||
) |
Resets Transport Out Stream
msg_ctx | message context | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_auth_failed | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_bool_t | status | |||
) |
Sets whether an authentication failure occured
msg_ctx | message context | |
env | pointer to environment struct | |
status | expects AXIS2_TRUE if an authentication failure occured or AXIS2_FALSE if not |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_auth_type | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | auth_type | |||
) |
Sets the authentication type
msg_ctx | message context | |
env | pointer to environment struct | |
auth_type | Authentication type string |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_charset_encoding | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_string_t * | str | |||
) |
Sets character set encoding to be used.
msg_ctx | message context | |
env | pointer to environment struct | |
str | pointer to string struct representing encoding |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_conf_ctx | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_content_language | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axis2_char_t * | str | |||
) |
Sets the Content Language used
msg_ctx | message context | |
env | pointer to environment struct | |
str | Content Language string |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_current_handler_index | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_current_phase_index | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_do_rest_through_post | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 not.
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 not to be done with HTTP POST |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_doing_mtom | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_doing_rest | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_execution_chain | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_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_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 | |||
) |
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_EXTERN axis2_status_t axis2_msg_ctx_set_fault_to | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_find_op | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
AXIS2_MSG_CTX_FIND_OP | func | |||
) |
Sets function to be used to find an operation 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 | |
func | function to be used to find an operation |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_find_svc | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
AXIS2_MSG_CTX_FIND_SVC | func | |||
) |
Sets function to be used to find a service. This function is used by dispatchers to locate the service to be invoked.
msg_ctx | message context | |
env | pointer to environment struct | |
func | function to be used to find an operation |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_flow | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_from | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_http_accept_charset_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_array_list_t * | accept_charset_record_list | |||
) |
Sets the HTTP Accept-Charset records
msg_ctx | message context | |
env | pointer to environment struct | |
accept_charset_record_list | an Array List containing the HTTP Accept-Charset records |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_http_accept_language_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_array_list_t * | accept_language_record_list | |||
) |
Sets the HTTP Accept-Language records
msg_ctx | message context | |
env | pointer to environment struct | |
accept_language_record_list | an Array List containing the HTTP Accept-Language records |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_http_accept_record_list | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_array_list_t * | accept_record_list | |||
) |
Sets the HTTP Accept records
msg_ctx | message context | |
env | pointer to environment struct | |
accept_record_list | an Array List containing the HTTP Accept records |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_http_output_headers | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_array_list_t * | output_headers | |||
) |
Sets the Output Header list
msg_ctx | message context | |
env | pointer to environment struct | |
output_headers | Output Header list |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_in_fault_flow | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_is_soap_11 | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_keep_alive | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_bool_t | keep_alive | |||
) |
Sets the bool value indicating the keep alive status of invocation. By setting this one can indicate the engine not to clean the message context.
msg_ctx | message context | |
env | pointer to environment struct | |
keep_alive | keep alive |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_manage_session | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_bool_t | manage_session | |||
) |
Sets manage session bool value.
msg_ctx | message context | |
env | pointer to environment struct | |
manage_session | manage session bool value |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_message_id | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_msg_id | ( | const axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axis2_char_t * | msg_id | |||
) |
Sets message ID.
msg_ctx | message context | |
env | pointer to environment struct | |
msg_id |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_msg_info_headers | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_new_thread_required | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_no_content | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_bool_t | no_content | |||
) |
Sets that there was no content in the response.
msg_ctx | message context | |
env | pointer to environment struct | |
no_content | expects AXIS2_TRUE if there was no content in the response or AXIS2_FALSE otherwise |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_op | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_op_ctx | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_options | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_out_transport_info | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
struct axis2_out_transport_info * | out_transport_info | |||
) |
Sets the HTTP Out Transport Info associated
msg_ctx | message context | |
env | pointer to environment struct | |
out_transport_info | reference to HTTP Out Transport Info associated |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_output_written | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_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 | |||
) |
Sets parent. Parent of a message context is of type operation context.
msg_ctx | message context | |
env | pointer to environment struct | |
parent | pointer to parent operation context |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_paused | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_paused_phase_name | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_process_fault | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_property | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | key, | |||
axutil_property_t * | value | |||
) |
Sets property with given key.
msg_ctx | message context | |
env | pointer to environment struct | |
key | key string | |
value | property to be stored |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_relates_to | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_reply_to | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axis2_endpoint_ref_t * | reference | |||
) |
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_EXTERN axis2_status_t axis2_msg_ctx_set_required_auth_is_http | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_bool_t | is_http | |||
) |
Sets whether HTTP Authentication is required or whether Proxy Authentication is required
msg_ctx | message context | |
env | pointer to environment struct | |
is_http | use AXIS2_TRUE for HTTP Authentication and AXIS2_FALSE for Proxy Authentication |
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 | |||
) |
Sets response 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_EXTERN axis2_status_t axis2_msg_ctx_set_rest_http_method | ( | struct axis2_msg_ctx * | msg_ctx, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | rest_http_method | |||
) |
Sets the HTTP Method that relates to the service that is related to the message context.
msg_ctx | message context | |
env | pointer to environment struct | |
rest_http_method | HTTP Method string, msg_ctx does not assume ownership of rest_http_method. |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_server_side | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_soap_action | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_string_t * | soap_action | |||
) |
Sets SOAP action.
msg_ctx | message context | |
env | pointer to environment struct | |
soap_action | SOAP action string |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_soap_envelope | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_status_code | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
const int | status_code | |||
) |
Sets the int value indicating http status code
msg_ctx | message context | |
env | pointer to environment struct | |
status_code | of the http response |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_supported_rest_http_methods | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_array_list_t * | supported_rest_http_methods | |||
) |
Sets the list of supported REST HTTP Methods
msg_ctx | message context | |
env | pointer to environment struct | |
supported_rest_http_methods | pointer array list containing the list of HTTP Methods supported. Message context does assumes the ownership of the array list. Anything added to this array list will be freed by the msg_ctx |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_svc | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_svc_ctx | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_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 | |||
) |
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_EXTERN axis2_status_t axis2_msg_ctx_set_svc_grp | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_svc_grp_ctx | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_svc_grp_ctx_id | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_string_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_EXTERN axis2_status_t axis2_msg_ctx_set_to | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axis2_endpoint_ref_t * | reference | |||
) |
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_EXTERN axis2_status_t axis2_msg_ctx_set_transfer_encoding | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axis2_char_t * | str | |||
) |
Sets the transfer encoding used
msg_ctx | message context | |
env | pointer to environment struct | |
str | Transfer encoding string |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_transport_headers | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_hash_t * | transport_headers | |||
) |
Sets the Transport Headers
msg_ctx | message context | |
env | pointer to environment struct | |
transport_headers | a Hash containing the Transport Headers |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_transport_in_desc | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_transport_out_desc | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_transport_out_stream | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axutil_stream_t * | stream | |||
) |
Sets the Transport Out Stream
msg_ctx | message context | |
env | pointer to environment struct | |
stream | reference to Transport Out Stream |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_transport_url | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_env_t * | env, | |||
axis2_char_t * | str | |||
) |
Sets the Transport URL
msg_ctx | message context | |
env | pointer to environment struct | |
str | Transport URL string |
AXIS2_EXTERN axis2_status_t axis2_msg_ctx_set_wsa_action | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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_EXTERN axis2_status_t axis2_msg_ctx_set_wsa_message_id | ( | axis2_msg_ctx_t * | msg_ctx, | |
const axutil_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 |