00001 #ifndef _IT_BUS_CONFIG_SOAP_WSDL_HEADER_H_ 00002 #define _IT_BUS_CONFIG_SOAP_WSDL_HEADER_H_ 00003 00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved. 00005 // 00006 00007 #include <it_bus_pdk/messaging_transport.h> 00008 #include <it_bus_config/soap_wsdl_extension_element.h> 00009 00010 namespace IT_Bus 00011 { 00017 class IT_SOAP_API SoapWSDLHeader : public SoapWSDLExtensionElement 00018 { 00019 public: 00020 00021 SoapWSDLHeader( 00022 IT_WSDL::WSDLExtensibleNode * parent 00023 ); 00024 00025 virtual ~SoapWSDLHeader(); 00026 00027 bool 00028 parse( 00029 const XMLIterator & element_iterator, 00030 const IT_Bus::XMLNode & element, 00031 IT_WSDL::WSDLErrorHandler & error_handler 00032 ); 00033 00037 virtual void 00038 read( 00039 const IT_Bus::QName& /*element_name*/, 00040 IT_Bus::ComplexTypeReader& /*reader*/ 00041 ) throw((IT_Bus::DeserializationException)) 00042 { 00043 throw IOException("Not Supported"); 00044 } 00045 00049 virtual void 00050 write( 00051 const IT_Bus::QName& /*element_name*/, 00052 IT_Bus::ComplexTypeWriter& /*writer*/ 00053 ) const throw((IT_Bus::SerializationException)) 00054 { 00055 // complete 00056 } 00057 00064 virtual void 00065 write( 00066 IT_Bus::XMLOutputStream& /*stream*/ 00067 ) const throw((IT_Bus::IOException)); 00068 00072 virtual 00073 IT_Bus::AnyType& 00074 operator=( 00075 const IT_Bus::AnyType& /*rhs*/ 00076 ) 00077 { 00078 return *this; 00079 } 00080 00086 virtual void 00087 write_attributes( 00088 IT_Bus::XMLOutputStream & stream 00089 ) const throw((IOException)); 00090 00117 const String & 00118 get_use() const; 00119 00146 const String & 00147 get_part() const; 00148 00183 const QName & 00184 get_message() const; 00185 00186 private: 00187 00188 SoapWSDLHeader & 00189 operator = ( 00190 const SoapWSDLHeader& rhs 00191 ); 00192 00193 SoapWSDLHeader ( 00194 const SoapWSDLHeader& rhs 00195 ); 00196 00197 String m_use; 00198 00199 String m_part; 00200 00201 QName m_message; 00202 }; 00203 } 00204 00205 #endif