00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AXIOM_SOAP_BODY_H
00020 #define AXIOM_SOAP_BODY_H
00021
00027 #include <axutil_env.h>
00028 #include <axiom_node.h>
00029 #include <axiom_element.h>
00030 #include <axiom_namespace.h>
00031 #include <axiom_soap_fault.h>
00032 #include <axiom_soap_envelope.h>
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039 typedef struct axiom_soap_body axiom_soap_body_t;
00040 struct axiom_soap_builder;
00041
00063 AXIS2_EXTERN axiom_soap_body_t *AXIS2_CALL
00064
00065 axiom_soap_body_create_with_parent(
00066 const axutil_env_t * env,
00067 struct axiom_soap_envelope *envelope);
00068
00076 AXIS2_EXTERN void AXIS2_CALL
00077 axiom_soap_body_free(
00078 axiom_soap_body_t * body,
00079 const axutil_env_t * env);
00080
00088 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00089 axiom_soap_body_has_fault(
00090 axiom_soap_body_t * body,
00091 const axutil_env_t * env);
00092
00101 AXIS2_EXTERN axiom_soap_fault_t *AXIS2_CALL
00102 axiom_soap_body_get_fault(
00103 axiom_soap_body_t * body,
00104 const axutil_env_t * env);
00105
00112 AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00113 axiom_soap_body_get_base_node(
00114 axiom_soap_body_t * body,
00115 const axutil_env_t * env);
00116
00123 AXIS2_EXTERN int AXIS2_CALL
00124 axiom_soap_body_get_soap_version(
00125 axiom_soap_body_t * body,
00126 const axutil_env_t * env);
00127
00132 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00133 axiom_soap_body_build(
00134 axiom_soap_body_t * body,
00135 const axutil_env_t * env);
00136
00145 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00146 axiom_soap_body_add_child(
00147 axiom_soap_body_t * body,
00148 const axutil_env_t * env,
00149 axiom_node_t * child);
00150
00156 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00157
00158 axiom_soap_body_convert_fault_to_soap11(
00159 axiom_soap_body_t * soap_body,
00160 const axutil_env_t * env);
00161
00162 #ifdef __cplusplus
00163 }
00164 #endif
00165
00166 #endif