00001 #ifndef _IT_BUS_CONFIG_SOAP_WSDL_FAULT_H_ 00002 #define _IT_BUS_CONFIG_SOAP_WSDL_FAULT_H_ 00003 00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved. 00005 // 00006 00007 #include <it_wsdl/wsdl_binding_fault.h> 00008 #include <it_bus_config/soap_wsdl_extension_element.h> 00009 00010 namespace IT_Bus 00011 { 00016 class IT_SOAP_API SoapWSDLFault : public SoapWSDLExtensionElement 00017 { 00018 public: 00019 00020 SoapWSDLFault( 00021 IT_WSDL::WSDLExtensibleNode * parent 00022 ); 00023 00024 ~SoapWSDLFault(); 00025 00026 bool 00027 parse( 00028 const XMLIterator & element_iterator, 00029 const IT_Bus::XMLNode & element, 00030 IT_WSDL::WSDLErrorHandler & error_handler 00031 ); 00032 00033 virtual void 00034 read( 00035 const IT_Bus::QName& /*element_name*/, 00036 IT_Bus::ComplexTypeReader& /*reader*/ 00037 ) throw((IT_Bus::DeserializationException)) 00038 { 00039 throw IOException("Not Supported"); 00040 } 00041 00042 virtual void 00043 write( 00044 const IT_Bus::QName& /*element_name*/, 00045 IT_Bus::ComplexTypeWriter& /*writer*/ 00046 ) const throw((IT_Bus::SerializationException)) 00047 { 00048 // complete 00049 } 00050 00051 virtual void 00052 write( 00053 IT_Bus::XMLOutputStream & stream 00054 ) const throw((IT_Bus::IOException)); 00055 00078 const String & 00079 get_use() const; 00080 00103 const String & 00104 get_name() const; 00105 00128 const String & 00129 get_namespace() const; 00130 00153 const String & 00154 get_encoding_style() const; 00155 00159 virtual void 00160 write_attributes( 00161 IT_Bus::XMLOutputStream & stream 00162 ) const throw((IOException)); 00163 00167 virtual 00168 IT_Bus::AnyType& 00169 operator=( 00170 const IT_Bus::AnyType& /*rhs*/ 00171 ) 00172 { 00173 return *this; 00174 } 00175 00176 private: 00177 00178 String m_name; 00179 00180 String m_namespace; 00181 00182 String m_use; 00183 00184 String m_encoding_style; 00185 00186 SoapWSDLFault & 00187 operator = ( 00188 const SoapWSDLFault& rhs 00189 ); 00190 00191 SoapWSDLFault( 00192 const SoapWSDLFault& rhs 00193 ); 00194 }; 00195 } 00196 00197 #endif