axiom_soap_fault.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_FAULT_H
00019 #define AXIOM_SOAP_FAULT_H
00020 
00021 
00026 #include <axiom_soap_const.h>
00027 #include <axutil_env.h>
00028 #include <axiom_node.h>
00029 #include <axiom_element.h>
00030 
00031 
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036 
00037     typedef struct axiom_soap_fault axiom_soap_fault_t;
00038 
00039     struct axiom_soap_fault_reason;
00040     struct axiom_soap_fault_detail;
00041     struct axiom_soap_fault_sub_code;
00042     struct axiom_soap_fault_code;
00043     struct axiom_soap_fault_node;
00044     struct axiom_soap_fault_role;
00045     struct axiom_soap_fault_text;
00046     struct axiom_soap_fault_value;
00047     struct axiom_soap_body;
00048     struct axiom_soap_builder;
00049 
00065     AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
00066     axiom_soap_fault_create_with_parent(const axutil_env_t *env,
00067             struct axiom_soap_body *parent);
00068 
00078     AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
00079     axiom_soap_fault_create_with_exception(const axutil_env_t *env,
00080             struct axiom_soap_body *parent,
00081             axis2_char_t* exception);
00082 
00083     AXIS2_EXTERN axiom_soap_fault_t * AXIS2_CALL
00084     axiom_soap_fault_create_default_fault(const axutil_env_t *env,
00085             struct axiom_soap_body *parent,
00086             const axis2_char_t *code_value,
00087             const axis2_char_t *reason_text,
00088             const int soap_version);
00089 
00098     AXIS2_EXTERN void AXIS2_CALL
00099     axiom_soap_fault_free(axiom_soap_fault_t *fault,
00100             const axutil_env_t *env);
00110     AXIS2_EXTERN struct axiom_soap_fault_code * AXIS2_CALL
00111     axiom_soap_fault_get_code(axiom_soap_fault_t *fault,
00112             const axutil_env_t *env);
00120     AXIS2_EXTERN struct axiom_soap_fault_reason * AXIS2_CALL
00121     axiom_soap_fault_get_reason(axiom_soap_fault_t *fault,
00122             const axutil_env_t *env);
00123 
00130     AXIS2_EXTERN struct axiom_soap_fault_node* AXIS2_CALL
00131     axiom_soap_fault_get_node(axiom_soap_fault_t *fault,
00132             const axutil_env_t *env);
00133 
00140     AXIS2_EXTERN struct axiom_soap_fault_role* AXIS2_CALL
00141     axiom_soap_fault_get_role(axiom_soap_fault_t *fault,
00142             const axutil_env_t *env);
00150     AXIS2_EXTERN struct axiom_soap_fault_detail* AXIS2_CALL
00151     axiom_soap_fault_get_detail(axiom_soap_fault_t *fault,
00152             const axutil_env_t *env);
00159     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
00160     axiom_soap_fault_get_exception(axiom_soap_fault_t *fault,
00161             const axutil_env_t *env);
00168     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00169     axiom_soap_fault_set_exception(axiom_soap_fault_t *fault,
00170             const axutil_env_t *env,
00171             axis2_char_t *exception);
00180     AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00181     axiom_soap_fault_get_base_node(axiom_soap_fault_t *fault,
00182             const axutil_env_t *env);
00183 
00185 #ifdef __cplusplus
00186 }
00187 #endif
00188 
00189 
00190 #endif /* AXIOM_SOAP_FAULT_H */

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