00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef AXIOM_SOAP_BODY_H
00019 #define AXIOM_SOAP_BODY_H
00020
00026 #include <axutil_env.h>
00027 #include <axiom_node.h>
00028 #include <axiom_element.h>
00029 #include <axiom_namespace.h>
00030 #include <axiom_soap_fault.h>
00031 #include <axiom_soap_envelope.h>
00032
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039
00040 typedef struct axiom_soap_body axiom_soap_body_t;
00041 struct axiom_soap_builder;
00042
00064 AXIS2_EXTERN axiom_soap_body_t * AXIS2_CALL
00065 axiom_soap_body_create_with_parent(const axutil_env_t *env,
00066 struct axiom_soap_envelope *envelope);
00067
00075 AXIS2_EXTERN void AXIS2_CALL
00076 axiom_soap_body_free(axiom_soap_body_t *body,
00077 const axutil_env_t *env);
00078
00086 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00087 axiom_soap_body_has_fault(axiom_soap_body_t *body,
00088 const axutil_env_t *env);
00089
00098 AXIS2_EXTERN axiom_soap_fault_t* AXIS2_CALL
00099 axiom_soap_body_get_fault(axiom_soap_body_t *body,
00100 const axutil_env_t *env);
00101
00108 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00109 axiom_soap_body_get_base_node(axiom_soap_body_t *body,
00110 const axutil_env_t *env);
00111
00118 AXIS2_EXTERN int AXIS2_CALL
00119 axiom_soap_body_get_soap_version(axiom_soap_body_t *body,
00120 const axutil_env_t *env);
00121
00122
00127 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00128 axiom_soap_body_build(axiom_soap_body_t *body,
00129 const axutil_env_t *env);
00130
00139 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00140 axiom_soap_body_add_child(axiom_soap_body_t *body,
00141 const axutil_env_t *env,
00142 axiom_node_t *child);
00143
00149 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00150 axiom_soap_body_convert_fault_to_soap11(axiom_soap_body_t *soap_body,
00151 const axutil_env_t *env);
00152
00153 #ifdef __cplusplus
00154 }
00155 #endif
00156
00157 #endif