You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/09/28 11:47:13 UTC
svn commit: r580274 [4/8] - /webservices/axis2/trunk/c/include/
Modified: webservices/axis2/trunk/c/include/axis2_module_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_module_desc.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_module_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_module_desc.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -17,12 +18,12 @@
#ifndef AXIS2_MODULE_DESC_H
#define AXIS2_MODULE_DESC_H
-/**
+/**
* @defgroup axis2_module_desc module description
* @ingroup axis2_desc
- * module holds information about a module. This information includes module
- * parameters and handler information.
- * Modules are available to all services if axis2.xml has a module reference
+ * module holds information about a module. This information includes module
+ * parameters and handler information.
+ * Modules are available to all services if axis2.xml has a module reference
* entry. Alternatively, a module could be made available to selected services
* by including a module reference entry in services.xml.
* @{
@@ -59,8 +60,9 @@
* @return void
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_module_desc_free(axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+ axis2_module_desc_free(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Gets flow representing in flow.
@@ -70,8 +72,9 @@
* not a cloned copy
*/
AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
- axis2_module_desc_get_in_flow(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+ axis2_module_desc_get_in_flow(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Sets flow representing in flow.
@@ -82,20 +85,22 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_set_in_flow(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- axis2_flow_t *in_flow);
+ axis2_module_desc_set_in_flow(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ axis2_flow_t * in_flow);
/**
* Gets flow representing out flow.
* @param module_desc pointer to module description
* @param env pointer to environment struct
* @return pointer to flow that represents out flow, returns a reference
- * not a cloned copy
+ * not a cloned copy
*/
AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
- axis2_module_desc_get_out_flow(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+ axis2_module_desc_get_out_flow(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Sets flow representing out flow.
@@ -106,20 +111,23 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_set_out_flow(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- axis2_flow_t *out_flow);
+ axis2_module_desc_set_out_flow(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ axis2_flow_t * out_flow);
/**
* Gets flow representing fault in flow.
* @param module_desc pointer to module description
* @param env pointer to environment struct
* @return pointer to flow that represents fault in flow, returns a reference
- * not a cloned copy
+ * not a cloned copy
*/
AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
- axis2_module_desc_get_fault_in_flow(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+
+ axis2_module_desc_get_fault_in_flow(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Sets flow representing fault in flow.
@@ -130,20 +138,24 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_set_fault_in_flow(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- axis2_flow_t *falut_in_flow);
+
+ axis2_module_desc_set_fault_in_flow(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ axis2_flow_t * falut_in_flow);
/**
* Gets flow representing fault out flow.
* @param module_desc pointer to module description
* @param env pointer to environment struct
* @return pointer to flow that represents fault out flow, returns a
- * reference not a cloned copy
+ * reference not a cloned copy
*/
AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
- axis2_module_desc_get_fault_out_flow(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+
+ axis2_module_desc_get_fault_out_flow(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Sets flow representing fault out flow.
@@ -154,9 +166,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_set_fault_out_flow(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- axis2_flow_t *fault_out_flow);
+
+ axis2_module_desc_set_fault_out_flow(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ axis2_flow_t * fault_out_flow);
/**
* Gets module QName.
@@ -165,8 +179,10 @@
* @return pointer to QName
*/
AXIS2_EXTERN const axutil_qname_t *AXIS2_CALL
- axis2_module_desc_get_qname(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+
+ axis2_module_desc_get_qname(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Sets module QName.
@@ -176,9 +192,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_set_qname(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- const axutil_qname_t *qname);
+ axis2_module_desc_set_qname(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ const axutil_qname_t * qname);
/**
* Adds given operation to module.
@@ -188,8 +205,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_add_op(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
+ axis2_module_desc_add_op(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
struct axis2_op *op);
/**
@@ -199,8 +217,9 @@
* @return pointer to hash map containing the operations
*/
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_module_desc_get_all_ops(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+ axis2_module_desc_get_all_ops(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Gets parent which is of type configuration.
@@ -210,8 +229,9 @@
* cloned copy
*/
AXIS2_EXTERN struct axis2_conf *AXIS2_CALL
- axis2_module_desc_get_parent(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+ axis2_module_desc_get_parent(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Sets parent which is of type configuration.
@@ -222,8 +242,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_set_parent(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
+ axis2_module_desc_set_parent(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
struct axis2_conf *parent);
/**
@@ -234,9 +255,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_add_param(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- axutil_param_t *param);
+ axis2_module_desc_add_param(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ axutil_param_t * param);
/**
* Gets parameter with given name.
@@ -246,9 +268,10 @@
* @return pointer to parameter corresponding to given name
*/
AXIS2_EXTERN axutil_param_t *AXIS2_CALL
- axis2_module_desc_get_param(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- const axis2_char_t *name);
+ axis2_module_desc_get_param(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ const axis2_char_t * name);
/**
* Gets all parameters associated with module.
@@ -257,8 +280,10 @@
* @param pointer to array list containing all parameters
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_module_desc_get_all_params(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+
+ axis2_module_desc_get_all_params(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Checks if a given parameter is locked.
@@ -268,9 +293,10 @@
* @return AXIS2_TRUE if named parameter is locked, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_module_desc_is_param_locked(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
- const axis2_char_t *param_name);
+ axis2_module_desc_is_param_locked(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
+ const axis2_char_t * param_name);
/**
* Gets module associated with module description.
@@ -279,8 +305,10 @@
* @return pointer to module
*/
AXIS2_EXTERN struct axis2_module *AXIS2_CALL
- axis2_module_desc_get_module(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+
+ axis2_module_desc_get_module(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* @param module_desc pointer to module description
@@ -290,17 +318,22 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_module_desc_set_module(axis2_module_desc_t *module_desc,
- const axutil_env_t *env,
+ axis2_module_desc_set_module(
+ axis2_module_desc_t * module_desc,
+ const axutil_env_t * env,
struct axis2_module *module);
AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
- axis2_module_desc_get_param_container(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+
+ axis2_module_desc_get_param_container(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_flow_container_t *AXIS2_CALL
- axis2_module_desc_get_flow_container(const axis2_module_desc_t *module_desc,
- const axutil_env_t *env);
+
+ axis2_module_desc_get_flow_container(
+ const axis2_module_desc_t * module_desc,
+ const axutil_env_t * env);
/**
* Creates module description struct instance.
@@ -308,7 +341,8 @@
* @return pointer to newly created module description
*/
AXIS2_EXTERN axis2_module_desc_t *AXIS2_CALL
- axis2_module_desc_create (const axutil_env_t *env);
+ axis2_module_desc_create(
+ const axutil_env_t * env);
/**
* Creates module description struct instance with given QName.
@@ -317,8 +351,10 @@
* @return pointer to newly created module description
*/
AXIS2_EXTERN axis2_module_desc_t *AXIS2_CALL
- axis2_module_desc_create_with_qname(const axutil_env_t *env,
- const axutil_qname_t *qname);
+
+ axis2_module_desc_create_with_qname(
+ const axutil_env_t * env,
+ const axutil_qname_t * qname);
/**
* Frees module description passed as void pointer. This method will cast
@@ -329,13 +365,13 @@
* @return void
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_module_desc_free_void_arg(void *module_desc,
- const axutil_env_t *env);
-
+ axis2_module_desc_free_void_arg(
+ void *module_desc,
+ const axutil_env_t * env);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_MODULE_DESC_H */
+#endif /* AXIS2_MODULE_DESC_H */
Modified: webservices/axis2/trunk/c/include/axis2_msg.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,12 +19,12 @@
#ifndef AXIS2_MSG_H
#define AXIS2_MSG_H
-/**
+/**
* @defgroup axis2_msg message
* @ingroup axis2_desc
- * message represents a message in a WSDL. It captures SOAP headers related to
+ * message represents a message in a WSDL. It captures SOAP headers related to
* a given message, the direction as well as the phases to be invoked along
- * the flow. Based on the message direction, there could be only one flow
+ * the flow. Based on the message direction, there could be only one flow
* associated with a message.
* @{
*/
@@ -39,13 +40,12 @@
#define AXIS2_MSG_IN_FAULT "InFaultMessage"
#define AXIS2_MSG_OUT_FAULT "OutFaultMessage"
-
#ifdef __cplusplus
extern "C"
{
#endif
- /** Type name for struct axis2_msg */
+ /** Type name for struct axis2_msg */
typedef struct axis2_msg axis2_msg_t;
/**
@@ -54,19 +54,21 @@
* @return pointer to newly created message
*/
AXIS2_EXTERN axis2_msg_t *AXIS2_CALL
- axis2_msg_create(const axutil_env_t *env);
+ axis2_msg_create(
+ const axutil_env_t * env);
- /**
+ /**
* Frees message.
* @param msg pointer to message
* @param env pointer to environment struct
* @return void
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_msg_free(axis2_msg_t *msg,
- const axutil_env_t *env);
+ axis2_msg_free(
+ axis2_msg_t * msg,
+ const axutil_env_t * env);
- /**
+ /**
* Adds a parameter.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -75,9 +77,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_add_param(axis2_msg_t *msg,
- const axutil_env_t *env,
- axutil_param_t *param);
+ axis2_msg_add_param(
+ axis2_msg_t * msg,
+ const axutil_env_t * env,
+ axutil_param_t * param);
/**
* Gets the named parameter.
@@ -88,11 +91,12 @@
* a reference, not a cloned copy
*/
AXIS2_EXTERN axutil_param_t *AXIS2_CALL
- axis2_msg_get_param(const axis2_msg_t *msg,
- const axutil_env_t *env,
- const axis2_char_t *name);
+ axis2_msg_get_param(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env,
+ const axis2_char_t * name);
- /**
+ /**
* Gets all parameters stored in message.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -100,22 +104,24 @@
* cloned copy
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_msg_get_all_params(const axis2_msg_t *msg,
- const axutil_env_t *env);
+ axis2_msg_get_all_params(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
- /**
+ /**
* Checks if the named parameter is locked.
* @param msg pointer to message
* @param env pointer to environment struct
* @param param_name parameter name string
- * @return AXIS2_TRUE if the parameter is locked, else AXIS2_FALSE
+ * @return AXIS2_TRUE if the parameter is locked, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_is_param_locked(axis2_msg_t *msg,
- const axutil_env_t *env,
- const axis2_char_t *param_name);
+ axis2_msg_is_param_locked(
+ axis2_msg_t * msg,
+ const axutil_env_t * env,
+ const axis2_char_t * param_name);
- /**
+ /**
* Sets parent. Parent of a message is of type operation.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -124,11 +130,12 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_set_parent(axis2_msg_t *msg,
- const axutil_env_t *env,
- axis2_op_t *op);
+ axis2_msg_set_parent(
+ axis2_msg_t * msg,
+ const axutil_env_t * env,
+ axis2_op_t * op);
- /**
+ /**
* Gets parent. Parent of a message is of type operation.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -136,8 +143,9 @@
* cloned copy
*/
AXIS2_EXTERN axis2_op_t *AXIS2_CALL
- axis2_msg_get_parent(const axis2_msg_t *msg,
- const axutil_env_t *env);
+ axis2_msg_get_parent(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
/**
* Gets flow of execution associated with the message.
@@ -147,10 +155,11 @@
* representing the flow
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_msg_get_flow( const axis2_msg_t *msg,
- const axutil_env_t *env);
+ axis2_msg_get_flow(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
- /**
+ /**
* Sets flow of execution associated with the message.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -159,21 +168,23 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_set_flow(axis2_msg_t *msg,
- const axutil_env_t *env,
- axutil_array_list_t *flow);
+ axis2_msg_set_flow(
+ axis2_msg_t * msg,
+ const axutil_env_t * env,
+ axutil_array_list_t * flow);
- /**
+ /**
* Gets direction of message.
* @param msg pointer to message
* @param env pointer to environment struct
* @return direction string
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_msg_get_direction(const axis2_msg_t *msg,
- const axutil_env_t *env);
+ axis2_msg_get_direction(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
- /**
+ /**
* Sets direction of message.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -181,21 +192,24 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_set_direction(axis2_msg_t *msg,
- const axutil_env_t *env,
- const axis2_char_t *direction);
+ axis2_msg_set_direction(
+ axis2_msg_t * msg,
+ const axutil_env_t * env,
+ const axis2_char_t * direction);
- /**
+ /**
* Gets QName representing message.
* @param msg pointer to message
* @param env pointer to environment struct
* @return pointer to QName, returns a reference, not a cloned copy
*/
AXIS2_EXTERN const axutil_qname_t *AXIS2_CALL
- axis2_msg_get_element_qname(const axis2_msg_t *msg,
- const axutil_env_t *env);
- /**
+ axis2_msg_get_element_qname(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
+
+ /**
* Sets QName representing message.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -204,21 +218,23 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_set_element_qname(axis2_msg_t *msg,
- const axutil_env_t *env,
- const axutil_qname_t *element_qname);
+ axis2_msg_set_element_qname(
+ axis2_msg_t * msg,
+ const axutil_env_t * env,
+ const axutil_qname_t * element_qname);
- /**
+ /**
* Gets message name.
* @param msg pointer to message
* @param env pointer to environment struct
* @return message name string.
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_msg_get_name(const axis2_msg_t *msg,
- const axutil_env_t *env);
+ axis2_msg_get_name(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
- /**
+ /**
* Sets message name.
* @param msg pointer to message
* @param env pointer to environment struct
@@ -226,25 +242,28 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_set_name(axis2_msg_t *msg,
- const axutil_env_t *env,
- const axis2_char_t *name);
+ axis2_msg_set_name(
+ axis2_msg_t * msg,
+ const axutil_env_t * env,
+ const axis2_char_t * name);
- /**
+ /**
* Gets base description.
* @param msg pointer to message
* @param env pointer to environment struct
* @return pointer to base description struct
*/
AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
- axis2_msg_get_base(const axis2_msg_t *msg,
- const axutil_env_t *env);
+ axis2_msg_get_base(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
- axis2_msg_get_param_container(const axis2_msg_t *msg,
- const axutil_env_t *env);
-
+ axis2_msg_get_param_container(
+ const axis2_msg_t * msg,
+ const axutil_env_t * env);
+
/**
* Increments the reference count to this oject
* @param msg pointer to message
@@ -253,13 +272,12 @@
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_increment_ref(axis2_msg_t *msg,
- const axutil_env_t *env);
-
-
+ axis2_msg_increment_ref(
+ axis2_msg_t * msg,
+ const axutil_env_t * env);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_MSG_H */
+#endif /* AXIS2_MSG_H */
Modified: webservices/axis2/trunk/c/include/axis2_msg_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg_ctx.h?rev=580274&r1=580273&r2=580274&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_ctx.h Fri Sep 28 02:47:09 2007
@@ -1,3 +1,4 @@
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,20 +19,20 @@
#ifndef AXIS2_MSG_CTX_H
#define AXIS2_MSG_CTX_H
-/**
+/**
* @defgroup axis2_msg_ctx message context
* @ingroup axis2_context
- * message context captures all state information related to a message
+ * 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
+ * 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
+ * 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.
* @{
*/
@@ -55,49 +56,55 @@
{
#endif
-/** transport headers */
-#define AXIS2_TRANSPORT_HEADERS "AXIS2_TRANSPORT_HEADERS"
+ /** transport headers */
+#define AXIS2_TRANSPORT_HEADERS "AXIS2_TRANSPORT_HEADERS"
-/** transport in */
-#define AXIS2_TRANSPORT_OUT "AXIS2_TRANSPORT_OUT"
+ /** transport in */
+#define AXIS2_TRANSPORT_OUT "AXIS2_TRANSPORT_OUT"
-/** transport out */
-#define AXIS2_TRANSPORT_IN "AXIS2_TRANSPORT_IN"
+ /** transport out */
+#define AXIS2_TRANSPORT_IN "AXIS2_TRANSPORT_IN"
-/** character set encoding */
-#define AXIS2_CHARACTER_SET_ENCODING "AXIS2_CHARACTER_SET_ENCODING"
+ /** character set encoding */
+#define AXIS2_CHARACTER_SET_ENCODING "AXIS2_CHARACTER_SET_ENCODING"
-/** UTF_8; This is the 'utf-8' 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 */
+#define AXIS2_UTF_8 "UTF-8"
-/** UTF_16; This is the 'utf-16' value for AXIS2_CHARACTER_SET_ENCODING property */
-#define AXIS2_UTF_16 "utf-16"
+ /** UTF_16; This is the 'utf-16' value for AXIS2_CHARACTER_SET_ENCODING property */
+#define AXIS2_UTF_16 "utf-16"
-/** default char set encoding; This is the default value for AXIS2_CHARACTER_SET_ENCODING property */
-#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_DEFAULT_CHAR_SET_ENCODING "UTF-8"
-/** transport succeeded */
-#define AXIS2_TRANSPORT_SUCCEED "AXIS2_TRANSPORT_SUCCEED"
+ /** transport succeeded */
+#define AXIS2_TRANSPORT_SUCCEED "AXIS2_TRANSPORT_SUCCEED"
-/** HTTP Client */
+ /** HTTP Client */
#define AXIS2_HTTP_CLIENT "AXIS2_HTTP_CLIENT"
-/** Transport URL */
-#define AXIS2_TRANSPORT_URL "TransportURL"
+ /** Transport URL */
+#define AXIS2_TRANSPORT_URL "TransportURL"
#define AXIS2_SVR_PEER_IP_ADDR "peer_ip_addr"
-/* Message flows */
-/** In flow */
-/*#define AXIS2_IN_FLOW 1*/
-/** In fault flow */
-/*#define AXIS2_IN_FAULT_FLOW 2*/
+ /* Message flows */
+
+ /** In flow */
+
+ /*#define AXIS2_IN_FLOW 1*/
+
+ /** In fault flow */
-/** Out flow */
-/*#define AXIS2_OUT_FLOW 3*/
+ /*#define AXIS2_IN_FAULT_FLOW 2*/
-/** Out fault flow */
-/*#define AXIS2_OUT_FAULT_FLOW 4*/
+ /** Out flow */
+
+ /*#define AXIS2_OUT_FLOW 3*/
+
+ /** Out fault flow */
+
+ /*#define AXIS2_OUT_FAULT_FLOW 4*/
/** Type name for struct axis2_msg_ctx */
typedef struct axis2_msg_ctx axis2_msg_ctx_t;
@@ -112,7 +119,7 @@
struct axis2_conf;
struct axiom_soap_envelope;
struct axis2_options;
- struct axis2_transport_in_desc;
+ struct axis2_transport_in_desc;
struct axis2_transport_out_desc;
struct axis2_http_out_transport_info;
@@ -128,7 +135,8 @@
* @return pointer to newly created message context instance
*/
AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
- axis2_msg_ctx_create (const axutil_env_t *env,
+ 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_des);
@@ -140,8 +148,9 @@
* @return pointer to base context struct
*/
AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
- axis2_msg_ctx_get_base(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_base(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets parent. Parent of a message context is of type operation.
@@ -150,8 +159,9 @@
* @return pointer to operation which is the parent
*/
AXIS2_EXTERN struct axis2_op_ctx *AXIS2_CALL
- axis2_msg_ctx_get_parent(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_parent(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets parent. Parent of a message context is of type operation.
@@ -161,8 +171,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_parent(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_parent(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_op_ctx *parent);
/**
@@ -172,8 +183,9 @@
* @return void
*/
AXIS2_EXTERN void AXIS2_CALL
- axis2_msg_ctx_free(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_free(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Initializes the message context. Based on the transport, service and
@@ -186,8 +198,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_init(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_init(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_conf *conf);
/**
@@ -199,8 +212,9 @@
* to address, returns a reference not a cloned copy
*/
AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
- axis2_msg_ctx_get_fault_to(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_fault_to(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets WS-Addressing from endpoint. From address tells where the
@@ -211,8 +225,9 @@
* address, returns a reference not a cloned copy
*/
AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
- axis2_msg_ctx_get_from(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_from(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Checks if there is a SOAP fault on in flow.
@@ -221,8 +236,9 @@
* @return AXIS2_TRUE if there is an in flow fault, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_in_fault_flow(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_in_fault_flow(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets the SOAP envelope. This SOAP envelope could be either request
@@ -233,13 +249,16 @@
* @return pointer to SOAP envelope stored within message context
*/
AXIS2_EXTERN struct axiom_soap_envelope *AXIS2_CALL
- axis2_msg_ctx_get_soap_envelope(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ 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_CALL
- axis2_msg_ctx_get_response_soap_envelope(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_response_soap_envelope(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets fault SOAP envelope.
@@ -248,8 +267,10 @@
* @return pointer to fault SOAP envelope stored within message context
*/
AXIS2_EXTERN struct axiom_soap_envelope *AXIS2_CALL
- axis2_msg_ctx_get_fault_soap_envelope(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_fault_soap_envelope(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets message ID.
@@ -260,9 +281,9 @@
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_msg_ctx_set_msg_id(
- const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axis2_char_t *msg_id);
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axis2_char_t * msg_id);
/**
* Gets message ID.
@@ -272,8 +293,9 @@
* context is related to
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_msg_ctx_get_msg_id(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_msg_id(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets process fault status.
@@ -282,8 +304,9 @@
* @return AXIS2_TRUE if process fault is on, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_process_fault(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_process_fault(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets relates to information for the message context.
@@ -292,20 +315,22 @@
* @return pointer to relates to struct
*/
AXIS2_EXTERN axis2_relates_to_t *AXIS2_CALL
- axis2_msg_ctx_get_relates_to(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_relates_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.
+ * the the response should be sent to.
* @param msg_ctx message context
* @param env pointer to environment struct
* @return pointer to endpoint reference struct representing the reply
* to address, returns a reference not a cloned copy
*/
AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
- axis2_msg_ctx_get_reply_to(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_reply_to(
+ 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
@@ -316,8 +341,9 @@
* side
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_server_side(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_server_side(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets WS-Addressing to endpoint. To address tells where message should
@@ -328,8 +354,9 @@
* to address, returns a reference not a cloned copy
*/
AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
- axis2_msg_ctx_get_to(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_to(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets WS-Addressing fault to endpoint. Fault to address tells where
@@ -341,9 +368,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_fault_to(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axis2_endpoint_ref_t *reference);
+ 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 from endpoint. From address tells where
@@ -355,9 +383,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_from(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axis2_endpoint_ref_t *reference);
+ axis2_msg_ctx_set_from(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axis2_endpoint_ref_t * reference);
/**
* Sets in fault flow status.
@@ -368,8 +397,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_in_fault_flow(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ 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);
/**
@@ -383,15 +413,17 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_soap_envelope(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ 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_CALL
- 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_msg_ctx_set_response_soap_envelope(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ struct axiom_soap_envelope *soap_envelope);
/**
* Sets fault SOAP envelope.
@@ -402,8 +434,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_fault_soap_envelope(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+
+ axis2_msg_ctx_set_fault_soap_envelope(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axiom_soap_envelope *soap_envelope);
/**
@@ -414,9 +448,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_message_id(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- const axis2_char_t *message_id);
+ axis2_msg_ctx_set_message_id(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * message_id);
/**
* Sets process fault bool value.
@@ -427,8 +462,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_process_fault(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_process_fault(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t process_fault);
/**
@@ -440,9 +476,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_relates_to(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axis2_relates_to_t *reference);
+ axis2_msg_ctx_set_relates_to(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axis2_relates_to_t * reference);
/**
* Sets WS-Addressing reply to address indicating the location to which
@@ -450,13 +487,14 @@
* @param msg_ctx message context
* @param env pointer to environment struct
* @param reference pointer to endpoint reference representing reply to
- * address
+ * address
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_reply_to(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axis2_endpoint_ref_t *referance);
+ axis2_msg_ctx_set_reply_to(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axis2_endpoint_ref_t * referance);
/**
* Sets the bool value indicating if it is the server side or the
@@ -468,8 +506,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_server_side(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_server_side(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t server_side);
/**
@@ -482,9 +521,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_to(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axis2_endpoint_ref_t *referance);
+ axis2_msg_ctx_set_to(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axis2_endpoint_ref_t * referance);
/**
* Gets the bool value indicating if it is required to have a new thread
@@ -494,12 +534,14 @@
* @return AXIS2_TRUE if new thread is required, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_new_thread_required(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_new_thread_required(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* 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.
+ * for the invocation, or if the same thread of execution could be used.
* @param msg_ctx message context
* @param env pointer to environment struct
* @param new_thread_required AXIS2_TRUE if a new thread is required,
@@ -507,8 +549,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_new_thread_required(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+
+ 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);
/**
@@ -519,9 +563,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_wsa_action(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- const axis2_char_t *action_uri);
+ axis2_msg_ctx_set_wsa_action(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * action_uri);
/**
* Gets WS-Addressing action.
@@ -530,8 +575,9 @@
* @return pointer to WSA action URI string
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_msg_ctx_get_wsa_action(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_wsa_action(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets WS-Addressing message ID.
@@ -541,9 +587,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_msg_ctx_set_wsa_message_id(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * message_id);
/**
* Gets WS-Addressing message ID.
@@ -552,8 +599,10 @@
* @return WSA message ID string
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_msg_ctx_get_wsa_message_id(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_wsa_message_id(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets WS-Addressing message information headers.
@@ -563,8 +612,10 @@
* WS-Addressing information. Returns a reference, not a cloned copy
*/
AXIS2_EXTERN axis2_msg_info_headers_t *AXIS2_CALL
- axis2_msg_ctx_get_msg_info_headers(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_msg_info_headers(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets the bool value indicating the paused status. It is possible
@@ -575,8 +626,9 @@
* @return AXIS2_TRUE if message context is paused, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_paused(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_paused(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the bool value indicating the paused status of invocation.
@@ -586,8 +638,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_paused(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_paused(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t paused);
/**
@@ -599,8 +652,9 @@
* @return AXIS2_TRUE if message context is keep alive, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_is_keep_alive(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_is_keep_alive(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the bool value indicating the keep alive status of invocation.
@@ -612,11 +666,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_keep_alive(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_keep_alive(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t keep_alive);
-
/**
* Gets transport in description.
* @param msg_ctx message context
@@ -625,8 +679,10 @@
* reference not a cloned copy
*/
AXIS2_EXTERN struct axis2_transport_in_desc *AXIS2_CALL
- axis2_msg_ctx_get_transport_in_desc(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_transport_in_desc(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets transport out description.
@@ -636,8 +692,10 @@
* reference not a cloned copy
*/
AXIS2_EXTERN struct axis2_transport_out_desc *AXIS2_CALL
- axis2_msg_ctx_get_transport_out_desc(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_transport_out_desc(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets transport in description.
@@ -648,8 +706,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_transport_in_desc(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+
+ 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);
/**
@@ -661,8 +721,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_transport_out_desc(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+
+ 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);
/**
@@ -673,8 +735,9 @@
* @return pointer to operation context struct
*/
AXIS2_EXTERN struct axis2_op_ctx *AXIS2_CALL
- axis2_msg_ctx_get_op_ctx(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_op_ctx(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets operation context related to the operation that this message
@@ -686,8 +749,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_op_ctx(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_op_ctx(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_op_ctx *op_ctx);
/**
@@ -697,8 +761,9 @@
* @return AXIS2_TRUE if output is written, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_output_written(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_output_written(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the bool value indicating the output written status.
@@ -708,8 +773,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_output_written(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_output_written(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t output_written);
/**
@@ -720,8 +786,9 @@
* @return service context ID string
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_msg_ctx_get_svc_ctx_id(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_svc_ctx_id(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the ID of service context that relates to the service that is
@@ -732,9 +799,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_msg_ctx_set_svc_ctx_id(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * svc_ctx_id);
/**
* Gets configuration context.
@@ -743,8 +811,10 @@
* @return pointer to configuration context
*/
AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
- axis2_msg_ctx_get_conf_ctx(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_conf_ctx(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets service context that relates to the service that the message
@@ -754,8 +824,9 @@
* @return pointer to message context struct
*/
AXIS2_EXTERN struct axis2_svc_ctx *AXIS2_CALL
- axis2_msg_ctx_get_svc_ctx(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_svc_ctx(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets configuration context.
@@ -766,12 +837,13 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_conf_ctx(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_conf_ctx(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_conf_ctx *conf_ctx);
-
+
/**
- * Sets service context.
+ * Sets service context.
* @param msg_ctx message context
* @param env pointer to environment struct
* @param svc_ctx pointer to service context struct, message
@@ -779,8 +851,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_svc_ctx(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_svc_ctx(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_svc_ctx *svc_ctx);
/**
@@ -792,9 +865,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_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);
/**
* Gets configuration descriptor parameter with given key. This method
@@ -812,9 +887,10 @@
* @return pointer to parameter struct corresponding to the given key
*/
AXIS2_EXTERN axutil_param_t *AXIS2_CALL
- axis2_msg_ctx_get_parameter(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- const axis2_char_t *key);
+ axis2_msg_ctx_get_parameter(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * key);
/**
* Gets parameters related to a named module and a given handler
@@ -837,11 +913,13 @@
* @return pointer to parameter
*/
AXIS2_EXTERN axutil_param_t *AXIS2_CALL
- 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_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 property corresponding to the given key.
@@ -851,10 +929,10 @@
* @return pointer to property struct
*/
AXIS2_EXTERN axutil_property_t *AXIS2_CALL
- axis2_msg_ctx_get_property(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- const axis2_char_t *key);
-
+ axis2_msg_ctx_get_property(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * key);
/**
* Gets property value corresponding to the property given key.
@@ -864,12 +942,11 @@
* @return pointer to property struct
*/
- AXIS2_EXTERN void * AXIS2_CALL
+ AXIS2_EXTERN void *AXIS2_CALL
axis2_msg_ctx_get_property_value(
- axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- const axis2_char_t *property_str);
-
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * property_str);
/**
* Sets property with given key.
@@ -883,10 +960,12 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_msg_ctx_set_property(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * key,
+ axutil_property_t * value);
+
/**
* Gets the QName of the handler at which invocation was paused.
* @param msg_ctx message context
@@ -894,8 +973,10 @@
* @return pointer to QName of the paused handler
*/
AXIS2_EXTERN const axutil_string_t *AXIS2_CALL
- axis2_msg_ctx_get_paused_handler_name(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_paused_handler_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.
@@ -904,8 +985,10 @@
* @return name string of the paused phase.
*/
AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
- axis2_msg_ctx_get_paused_phase_name(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_paused_phase_name(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the name of the phase at which the invocation was paused.
@@ -915,9 +998,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_msg_ctx_set_paused_phase_name(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ const axis2_char_t * paused_phase_name);
/**
* Gets SOAP action.
@@ -926,8 +1011,9 @@
* @return SOAP action string
*/
AXIS2_EXTERN axutil_string_t *AXIS2_CALL
- axis2_msg_ctx_get_soap_action(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_soap_action(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets SOAP action.
@@ -937,9 +1023,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_soap_action(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axutil_string_t *soap_action);
+ axis2_msg_ctx_set_soap_action(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axutil_string_t * soap_action);
/**
* Gets the boolean value indicating if MTOM is enabled or not.
@@ -948,8 +1035,9 @@
* @return AXIS2_TRUE if MTOM is enabled, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_doing_mtom(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_doing_mtom(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the boolean value indicating if MTOM is enabled or not.
@@ -959,8 +1047,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_doing_mtom(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_doing_mtom(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t doing_mtom);
/**
@@ -970,8 +1059,9 @@
* @return AXIS2_TRUE if REST is enabled, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_doing_rest(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_doing_rest(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the boolean value indicating if REST is enabled or not.
@@ -981,8 +1071,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_doing_rest(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_doing_rest(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t doing_rest);
/**
@@ -995,10 +1086,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_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
@@ -1009,8 +1101,10 @@
* AXIS2_FALSE if REST is to be done with HTTP GET
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_do_rest_through_post(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_do_rest_through_post(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets the bool value indicating the SOAP version being used either
@@ -1021,8 +1115,9 @@
* SOAP 1.2 is being used
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_get_is_soap_11(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_is_soap_11(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the bool value indicating the SOAP version being used either
@@ -1034,8 +1129,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_is_soap_11(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_is_soap_11(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const axis2_bool_t is_soap11);
/**
@@ -1047,8 +1143,10 @@
* @return pointer to service group struct
*/
AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
- axis2_msg_ctx_get_svc_grp_ctx(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_svc_grp_ctx(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets service group context. The returned service group context
@@ -1060,11 +1158,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_svc_grp_ctx(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ 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 the operation that is to be invoked.
* @param msg_ctx message context
@@ -1072,9 +1170,9 @@
* @return pointer to operation, returns a reference not a cloned copy
*/
AXIS2_EXTERN struct axis2_op *AXIS2_CALL
- axis2_msg_ctx_get_op(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
-
+ axis2_msg_ctx_get_op(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the operation that is to be invoked.
@@ -1085,11 +1183,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_op(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_op(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_op *op);
-
/**
* Gets the service to which the operation to be invoked belongs.
* @param msg_ctx message context
@@ -1097,9 +1195,9 @@
* @return pointer to service struct, returns a reference not a cloned copy
*/
AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
- axis2_msg_ctx_get_svc(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
-
+ axis2_msg_ctx_get_svc(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the service to which the operation to be invoked belongs.
@@ -1110,8 +1208,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_svc(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_svc(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_svc *svc);
/**
@@ -1122,8 +1221,9 @@
* a cloned copy
*/
AXIS2_EXTERN struct axis2_svc_grp *AXIS2_CALL
- axis2_msg_ctx_get_svc_grp(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_svc_grp(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the service group to which the service to be invoked belongs.
@@ -1134,11 +1234,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_svc_grp(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_svc_grp(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_svc_grp *svc_grp);
-
/**
* Gets the service group context ID.
* @param msg_ctx message context
@@ -1146,8 +1246,10 @@
* @return service group context ID string
*/
AXIS2_EXTERN const axutil_string_t *AXIS2_CALL
- axis2_msg_ctx_get_svc_grp_ctx_id(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_svc_grp_ctx_id(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the service group context ID.
@@ -1157,9 +1259,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_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);
/**
* Finds the service to be invoked. This function is used by dispatchers
@@ -1169,9 +1272,11 @@
* @return pointer to service to be invoked
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_find_svc(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- void* func);
+ axis2_msg_ctx_set_find_svc(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ void *func);
+
/**
* Finds the operation to be invoked in the given service. This function
* is used by dispatchers to locate the operation to be invoked.
@@ -1181,9 +1286,11 @@
* @return pointer to the operation to be invoked
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_find_op(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_find_op(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
void *func);
+
/**
* Finds the service to be invoked. This function is used by dispatchers
* to locate the service to be invoked.
@@ -1191,9 +1298,11 @@
* @param env pointer to environment struct
* @return pointer to service to be invoked
*/
- AXIS2_EXTERN struct axis2_svc * AXIS2_CALL
- axis2_msg_ctx_find_svc(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
+ axis2_msg_ctx_find_svc(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
+
/**
* Finds the operation to be invoked in the given service. This function
* is used by dispatchers to locate the operation to be invoked.
@@ -1202,21 +1311,23 @@
* @param svc pointer to service to whom the operation belongs
* @return pointer to the operation to be invoked
*/
- AXIS2_EXTERN struct axis2_op * AXIS2_CALL
- axis2_msg_ctx_find_op(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- struct axis2_svc *svc);
- /**
- * Gets the options to be used in invocation.
- * @param msg_ctx message context
- * @param env pointer to environment struct
- * @return options pointer to options struct , message context does not
- * assume the ownership of the struct
- */
+ AXIS2_EXTERN struct axis2_op *AXIS2_CALL
+ axis2_msg_ctx_find_op(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ struct axis2_svc *svc);
+
+ /**
+ * Gets the options to be used in invocation.
+ * @param msg_ctx message context
+ * @param env pointer to environment struct
+ * @return options pointer to options struct , message context does not
+ * assume the ownership of the struct
+ */
AXIS2_EXTERN struct axis2_options *AXIS2_CALL
- axis2_msg_ctx_get_options(
- axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_options(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets the bool value indicating the paused status.
@@ -1225,9 +1336,10 @@
* @return AXIS2_TRUE if invocation is paused, else AXIS2_FALSE
*/
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
- axis2_msg_ctx_is_paused(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
-
+ axis2_msg_ctx_is_paused(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
+
/**
* Sets the options to be used in invocation.
* @param msg_ctx message context
@@ -1237,10 +1349,11 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_options (axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_options(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_options *options);
-
+
/**
* Sets the flow to be invoked.
* @param msg_ctx message context
@@ -1249,8 +1362,9 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_flow (axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+ axis2_msg_ctx_set_flow(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
int flow);
/**
@@ -1260,8 +1374,9 @@
* @return int value indicating the flow
*/
AXIS2_EXTERN int AXIS2_CALL
- axis2_msg_ctx_get_flow (const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_flow(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets the execution chain to be invoked. The execution chain is a
@@ -1274,9 +1389,10 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_execution_chain(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axutil_array_list_t *execution_chain);
+ axis2_msg_ctx_set_execution_chain(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axutil_array_list_t * execution_chain);
/**
* Gets the execution chain to be invoked. The execution chain is a
@@ -1288,8 +1404,10 @@
* the ownership of the array list
*/
AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
- axis2_msg_ctx_get_execution_chain(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_execution_chain(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets current handler index, indicating which handler is currently
@@ -1300,54 +1418,60 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_current_handler_index(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+
+ axis2_msg_ctx_set_current_handler_index(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const int index);
/**
* Gets current handler index, indicating which handler is currently
- * being invoked in the execution chain
+ * being invoked in the execution chain
* @param msg_ctx message context
* @param env pointer to environment struct
* @return index of currently executed handler
*/
AXIS2_EXTERN int AXIS2_CALL
- axis2_msg_ctx_get_current_handler_index(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_current_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.
- * @param msg_ctx message context
- * @param env pointer to environment struct
- * @return index of handler at which invocation was paused
- */
+ /**
+ * Gets paused handler index, indicating at which handler the execution
+ * chain was paused.
+ * @param msg_ctx message context
+ * @param env pointer to environment struct
+ * @return index of handler at which invocation was paused
+ */
AXIS2_EXTERN int AXIS2_CALL
- axis2_msg_ctx_get_paused_handler_index(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
-
+ axis2_msg_ctx_get_paused_handler_index(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
- * Sets index of the current phase being invoked.
+ * Sets index of the current phase being invoked.
* @param msg_ctx message context
* @param env pointer to environment struct
* @param index index of current phase
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_current_phase_index(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+
+ axis2_msg_ctx_set_current_phase_index(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
const int index);
/**
- * Gets index of the current phase being invoked.
+ * Gets index of the current phase being invoked.
* @param msg_ctx message context
* @param env pointer to environment struct
* @return index of current phase
*/
AXIS2_EXTERN int AXIS2_CALL
- axis2_msg_ctx_get_current_phase_index(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_current_phase_index(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets the phase at which the invocation was paused.
@@ -1356,8 +1480,9 @@
* @return index of paused phase
*/
AXIS2_EXTERN int AXIS2_CALL
- axis2_msg_ctx_get_paused_phase_index(const axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_get_paused_phase_index(
+ const axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Gets character set encoding to be used.
@@ -1365,9 +1490,11 @@
* @param env pointer to environment struct
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- AXIS2_EXTERN axutil_string_t* AXIS2_CALL
- axis2_msg_ctx_get_charset_encoding(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ AXIS2_EXTERN axutil_string_t *AXIS2_CALL
+
+ axis2_msg_ctx_get_charset_encoding(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
/**
* Sets character set encoding to be used.
@@ -1377,62 +1504,86 @@
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_charset_encoding(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axutil_string_t *str);
+
+ axis2_msg_ctx_set_charset_encoding(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axutil_string_t * str);
AXIS2_EXTERN axutil_stream_t *AXIS2_CALL
- axis2_msg_ctx_get_transport_out_stream(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_transport_out_stream(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_transport_out_stream(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axutil_stream_t *stream);
+
+ 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_CALL
- axis2_msg_ctx_reset_transport_out_stream(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_reset_transport_out_stream(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
AXIS2_EXTERN struct axis2_http_out_transport_info *AXIS2_CALL
- axis2_msg_ctx_get_http_out_transport_info(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_http_out_transport_info(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_http_out_transport_info(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
+
+ axis2_msg_ctx_set_http_out_transport_info(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
struct axis2_http_out_transport_info *http_out_transport_info);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_reset_http_out_transport_info(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_reset_http_out_transport_info(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
- axis2_msg_ctx_get_transport_headers(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+
+ axis2_msg_ctx_get_transport_headers(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_transport_headers(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axutil_hash_t *transport_headers);
- AXIS2_EXTERN axis2_char_t* AXIS2_CALL
- axis2_msg_ctx_get_transfer_encoding(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ axis2_msg_ctx_set_transport_headers(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axutil_hash_t * transport_headers);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+
+ axis2_msg_ctx_get_transfer_encoding(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- 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_CALL
- axis2_msg_ctx_get_transport_url(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env);
+ 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_CALL
+ axis2_msg_ctx_get_transport_url(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
- axis2_msg_ctx_set_transport_url(axis2_msg_ctx_t *msg_ctx,
- const axutil_env_t *env,
- axis2_char_t *str);
+ axis2_msg_ctx_set_transport_url(
+ axis2_msg_ctx_t * msg_ctx,
+ const axutil_env_t * env,
+ axis2_char_t * str);
#ifdef __cplusplus
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org