axiom_soap_body.h

Go to the documentation of this file.
00001 
00002 /*
00003  * Licensed to the Apache Software Foundation (ASF) under one or more
00004  * contributor license agreements.  See the NOTICE file distributed with
00005  * this work for additional information regarding copyright ownership.
00006  * The ASF licenses this file to You under the Apache License, Version 2.0
00007  * (the "License"); you may not use this file except in compliance with
00008  * the License.  You may obtain a copy of the License at
00009  *
00010  *      http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
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                          /* AXIOM_SOAP_BODY_H */

Generated on Fri Apr 17 11:49:42 2009 for Axis2/C by  doxygen 1.5.3