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
00065 AXIS2_EXTERN axiom_soap_body_t *AXIS2_CALL
00066 axiom_soap_body_create_with_parent(
00067 const axutil_env_t * env,
00068 struct axiom_soap_envelope *envelope);
00069
00077 AXIS2_EXTERN void AXIS2_CALL
00078 axiom_soap_body_free(
00079 axiom_soap_body_t * body,
00080 const axutil_env_t * env);
00081
00089 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00090 axiom_soap_body_has_fault(
00091 axiom_soap_body_t * body,
00092 const axutil_env_t * env);
00093
00102 AXIS2_EXTERN axiom_soap_fault_t *AXIS2_CALL
00103 axiom_soap_body_get_fault(
00104 axiom_soap_body_t * body,
00105 const axutil_env_t * env);
00106
00113 AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00114 axiom_soap_body_get_base_node(
00115 axiom_soap_body_t * body,
00116 const axutil_env_t * env);
00117
00124 AXIS2_EXTERN int AXIS2_CALL
00125 axiom_soap_body_get_soap_version(
00126 axiom_soap_body_t * body,
00127 const axutil_env_t * env);
00128
00135 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00136 axiom_soap_body_build(
00137 axiom_soap_body_t * body,
00138 const axutil_env_t * env);
00139
00148 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00149 axiom_soap_body_add_child(
00150 axiom_soap_body_t * body,
00151 const axutil_env_t * env,
00152 axiom_node_t * child);
00153
00162 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00163 axiom_soap_body_convert_fault_to_soap11(
00164 axiom_soap_body_t * soap_body,
00165 const axutil_env_t * env);
00166
00167
00168 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00169 axiom_soap_body_process_attachments(
00170 axiom_soap_body_t * soap_body,
00171 const axutil_env_t * env,
00172 void *user_param,
00173 axis2_char_t *callback_name);
00174
00175
00176 #ifdef __cplusplus
00177 }
00178 #endif
00179
00180 #endif