00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef AXIOM_SOAP_HEADER_BLOCK_H
00019 #define AXIOM_SOAP_HEADER_BLOCK_H
00020
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 axiom_soap_header_block_create_with_parent(const axutil_env_t *env,
00052 const axis2_char_t *localname,
00053 axiom_namespace_t *ns,
00054 struct axiom_soap_header *parent);
00055
00063 AXIS2_EXTERN void AXIS2_CALL
00064 axiom_soap_header_block_free(axiom_soap_header_block_t *header_block,
00065 const axutil_env_t *env);
00066
00067 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00068 axiom_soap_header_block_set_role(axiom_soap_header_block_t *header_block,
00069 const axutil_env_t *env,
00070 axis2_char_t *uri);
00071
00072 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073 axiom_soap_header_block_set_must_understand_with_bool(axiom_soap_header_block_t *header_block,
00074 const axutil_env_t *env,
00075 axis2_bool_t must_understand);
00076
00077 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00078 axiom_soap_header_block_set_must_understand_with_string(axiom_soap_header_block_t *header_block,
00079 const axutil_env_t *env,
00080 axis2_char_t *must_understand);
00081
00082 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00083 axiom_soap_header_block_get_must_understand(axiom_soap_header_block_t *header_block,
00084 const axutil_env_t *env);
00085
00086 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00087 axiom_soap_header_block_is_processed(axiom_soap_header_block_t *header_block,
00088 const axutil_env_t *env);
00089
00090 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00091 axiom_soap_header_block_set_processed(axiom_soap_header_block_t *header_block,
00092 const axutil_env_t *env);
00093
00094 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00095 axiom_soap_header_block_get_role(axiom_soap_header_block_t *header_block,
00096 const axutil_env_t *env);
00097
00098 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00099 axiom_soap_header_block_set_attribute(axiom_soap_header_block_t *header_block,
00100 const axutil_env_t *env,
00101 const axis2_char_t *attr_name,
00102 const axis2_char_t *attr_value,
00103 const axis2_char_t *soap_envelope_namespace_uri);
00104
00105 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00106 axiom_soap_header_block_get_attribute(axiom_soap_header_block_t *header_block,
00107 const axutil_env_t *env,
00108 const axis2_char_t *attr_name,
00109 const axis2_char_t *soap_envelope_namespace_uri);
00110
00111 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00112 axiom_soap_header_block_get_base_node(axiom_soap_header_block_t *header_block,
00113 const axutil_env_t *env);
00114
00115 AXIS2_EXTERN int AXIS2_CALL
00116 axiom_soap_header_block_get_soap_version(axiom_soap_header_block_t *header_block,
00117 const axutil_env_t *env);
00118
00121 #ifdef __cplusplus
00122 }
00123 #endif
00124 #endif