00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AXIOM_SOAP_HEADER_BLOCK_H
00020 #define AXIOM_SOAP_HEADER_BLOCK_H
00021
00026 #include <axutil_env.h>
00027 #include <axiom_node.h>
00028 #include <axiom_element.h>
00029 #include <axutil_array_list.h>
00030 #include <axiom_soap_header.h>
00031
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036
00037 typedef struct axiom_soap_header_block axiom_soap_header_block_t;
00038
00050 AXIS2_EXTERN axiom_soap_header_block_t *AXIS2_CALL
00051
00052 axiom_soap_header_block_create_with_parent(
00053 const axutil_env_t * env,
00054 const axis2_char_t * localname,
00055 axiom_namespace_t * ns,
00056 struct axiom_soap_header *parent);
00057
00065 AXIS2_EXTERN void AXIS2_CALL
00066 axiom_soap_header_block_free(
00067 axiom_soap_header_block_t * header_block,
00068 const axutil_env_t * env);
00069
00070 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00071 axiom_soap_header_block_set_role(
00072 axiom_soap_header_block_t * header_block,
00073 const axutil_env_t * env,
00074 axis2_char_t * uri);
00075
00076 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00077
00078 axiom_soap_header_block_set_must_understand_with_bool(
00079 axiom_soap_header_block_t * header_block,
00080 const axutil_env_t * env,
00081 axis2_bool_t must_understand);
00082
00083 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00084
00085 axiom_soap_header_block_set_must_understand_with_string(
00086 axiom_soap_header_block_t * header_block,
00087 const axutil_env_t * env,
00088 axis2_char_t * must_understand);
00089
00090 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00091
00092 axiom_soap_header_block_get_must_understand(
00093 axiom_soap_header_block_t * header_block,
00094 const axutil_env_t * env);
00095
00096 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00097
00098 axiom_soap_header_block_is_processed(
00099 axiom_soap_header_block_t * header_block,
00100 const axutil_env_t * env);
00101
00102 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00103
00104 axiom_soap_header_block_set_processed(
00105 axiom_soap_header_block_t * header_block,
00106 const axutil_env_t * env);
00107
00108 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00109 axiom_soap_header_block_get_role(
00110 axiom_soap_header_block_t * header_block,
00111 const axutil_env_t * env);
00112
00113 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00114
00115 axiom_soap_header_block_set_attribute(
00116 axiom_soap_header_block_t * header_block,
00117 const axutil_env_t * env,
00118 const axis2_char_t * attr_name,
00119 const axis2_char_t * attr_value,
00120 const axis2_char_t * soap_envelope_namespace_uri);
00121
00122 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00123
00124 axiom_soap_header_block_get_attribute(
00125 axiom_soap_header_block_t * header_block,
00126 const axutil_env_t * env,
00127 const axis2_char_t * attr_name,
00128 const axis2_char_t * soap_envelope_namespace_uri);
00129
00130 AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00131
00132 axiom_soap_header_block_get_base_node(
00133 axiom_soap_header_block_t * header_block,
00134 const axutil_env_t * env);
00135
00136 AXIS2_EXTERN int AXIS2_CALL
00137 axiom_soap_header_block_get_soap_version(
00138 axiom_soap_header_block_t * header_block,
00139 const axutil_env_t * env);
00140
00143 #ifdef __cplusplus
00144 }
00145 #endif
00146 #endif