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_VALUE_H 00020 #define AXIOM_SOAP_FAULT_VALUE_H 00021 00026 #include <axutil_env.h> 00027 #include <axiom_soap_fault.h> 00028 #include <axiom_soap_fault_sub_code.h> 00029 00030 #ifdef __cplusplus 00031 extern "C" 00032 { 00033 #endif 00034 00035 typedef struct axiom_soap_fault_value axiom_soap_fault_value_t; 00036 00047 AXIS2_EXTERN axiom_soap_fault_value_t *AXIS2_CALL 00048 axiom_soap_fault_value_create_with_subcode( 00049 const axutil_env_t * env, 00050 axiom_soap_fault_sub_code_t * parent); 00051 00059 AXIS2_EXTERN axiom_soap_fault_value_t *AXIS2_CALL 00060 axiom_soap_fault_value_create_with_code( 00061 const axutil_env_t * env, 00062 axiom_soap_fault_code_t * parent); 00063 00071 AXIS2_EXTERN void AXIS2_CALL 00072 axiom_soap_fault_value_free( 00073 axiom_soap_fault_value_t * fault_value, 00074 const axutil_env_t * env); 00075 00082 AXIS2_EXTERN axis2_char_t *AXIS2_CALL 00083 axiom_soap_fault_value_get_text( 00084 axiom_soap_fault_value_t * fault_value, 00085 const axutil_env_t * env); 00086 00095 AXIS2_EXTERN axiom_node_t *AXIS2_CALL 00096 axiom_soap_fault_value_get_base_node( 00097 axiom_soap_fault_value_t * fault_value, 00098 const axutil_env_t * env); 00099 00108 AXIS2_EXTERN axis2_status_t AXIS2_CALL 00109 axiom_soap_fault_value_set_text( 00110 axiom_soap_fault_value_t * fault_value, 00111 const axutil_env_t * env, 00112 axis2_char_t * text); 00113 00116 #ifdef __cplusplus 00117 } 00118 #endif 00119 00120 #endif /* AXIOM_SOAP_FAULT_VALUE_H */