axiom_soap_body.h

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

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6