axiom_soap_fault.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_FAULT_H
00020 #define AXIOM_SOAP_FAULT_H
00021 
00026 #include <axiom_soap_const.h>
00027 #include <axutil_env.h>
00028 #include <axiom_node.h>
00029 #include <axiom_element.h>
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00036     typedef struct axiom_soap_fault axiom_soap_fault_t;
00037 
00038     struct axiom_soap_fault_reason;
00039     struct axiom_soap_fault_detail;
00040     struct axiom_soap_fault_sub_code;
00041     struct axiom_soap_fault_code;
00042     struct axiom_soap_fault_node;
00043     struct axiom_soap_fault_role;
00044     struct axiom_soap_fault_text;
00045     struct axiom_soap_fault_value;
00046     struct axiom_soap_body;
00047     struct axiom_soap_builder;
00048 
00064     AXIS2_EXTERN axiom_soap_fault_t *AXIS2_CALL
00065     axiom_soap_fault_create_with_parent(
00066         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(
00080         const axutil_env_t * env,
00081         struct axiom_soap_body *parent,
00082         axis2_char_t * exception);
00083 
00094     AXIS2_EXTERN axiom_soap_fault_t *AXIS2_CALL
00095     axiom_soap_fault_create_default_fault(
00096         const axutil_env_t * env,
00097         struct axiom_soap_body *parent,
00098         const axis2_char_t * code_value,
00099         const axis2_char_t * reason_text,
00100         const int soap_version);
00101 
00110     AXIS2_EXTERN void AXIS2_CALL
00111     axiom_soap_fault_free(
00112         axiom_soap_fault_t * fault,
00113         const axutil_env_t * env);
00114 
00124     AXIS2_EXTERN struct axiom_soap_fault_code *AXIS2_CALL
00125     axiom_soap_fault_get_code(
00126          axiom_soap_fault_t * fault,
00127          const axutil_env_t * env);
00128 
00136     AXIS2_EXTERN struct axiom_soap_fault_reason *AXIS2_CALL
00137     axiom_soap_fault_get_reason(
00138          axiom_soap_fault_t * fault,
00139          const axutil_env_t * env);
00140 
00147     AXIS2_EXTERN struct axiom_soap_fault_node *AXIS2_CALL
00148     axiom_soap_fault_get_node(
00149         axiom_soap_fault_t * fault,
00150         const axutil_env_t * env);
00151 
00158     AXIS2_EXTERN struct axiom_soap_fault_role *AXIS2_CALL
00159     axiom_soap_fault_get_role(
00160          axiom_soap_fault_t * fault,
00161          const axutil_env_t * env);
00162 
00169     AXIS2_EXTERN struct axiom_soap_fault_detail *AXIS2_CALL
00170     axiom_soap_fault_get_detail(
00171          axiom_soap_fault_t * fault,
00172          const axutil_env_t * env);
00173 
00180     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00181     axiom_soap_fault_get_exception(
00182         axiom_soap_fault_t * fault,
00183         const axutil_env_t * env);
00184 
00191     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00192     axiom_soap_fault_set_exception(
00193         axiom_soap_fault_t * fault,
00194         const axutil_env_t * env,
00195         axis2_char_t * exception);
00196 
00205     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00206     axiom_soap_fault_get_base_node(
00207         axiom_soap_fault_t * fault,
00208         const axutil_env_t * env);
00209 
00211 #ifdef __cplusplus
00212 }
00213 #endif
00214 
00215 #endif                          /* AXIOM_SOAP_FAULT_H */

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