00001 #ifndef _IT_BUS_CONFIG_SOAP_WSDL_BODY_H_ 00002 #define _IT_BUS_CONFIG_SOAP_WSDL_BODY_H_ 00003 00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved. 00005 // 00006 00007 #include <it_wsdl/wsdl_binding_input.h> 00008 #include <it_wsdl/wsdl_binding_output.h> 00009 #include <it_bus_config/soap_wsdl_extension_element.h> 00010 00011 namespace IT_Bus 00012 { 00018 class IT_SOAP_API SoapWSDLBody : public SoapWSDLExtensionElement 00019 { 00020 public: 00021 00022 SoapWSDLBody( 00023 IT_WSDL::WSDLExtensibleNode * parent 00024 ); 00025 00026 ~SoapWSDLBody(); 00027 00028 bool 00029 parse( 00030 const XMLIterator & element_iterator, 00031 const IT_Bus::XMLNode & element, 00032 IT_WSDL::WSDLErrorHandler & error_handler 00033 ); 00034 00035 virtual void 00036 read( 00037 const IT_Bus::QName& /*element_name*/, 00038 IT_Bus::ComplexTypeReader& /*reader*/ 00039 ) throw((IT_Bus::DeserializationException)) 00040 { 00041 throw IOException("Not Supported"); 00042 } 00043 00044 virtual void 00045 write( 00046 const IT_Bus::QName& /*element_name*/, 00047 IT_Bus::ComplexTypeWriter& /*writer*/ 00048 ) const throw((IT_Bus::SerializationException)) 00049 { 00050 // complete 00051 } 00052 00053 virtual void 00054 write( 00055 IT_Bus::XMLOutputStream & stream 00056 ) const throw((IT_Bus::IOException)); 00057 00083 const String & 00084 get_use() const; 00085 00111 const String & 00112 get_namespace() const; 00113 00139 const String & 00140 get_encoding_style() const; 00141 00167 const String & 00168 get_parts() const; 00169 00173 virtual void 00174 write_attributes( 00175 IT_Bus::XMLOutputStream & stream 00176 ) const throw((IOException)); 00177 00181 virtual 00182 IT_Bus::AnyType& 00183 operator=( 00184 const IT_Bus::AnyType& /*rhs*/ 00185 ) 00186 { 00187 return *this; 00188 } 00189 00190 private: 00191 00192 String m_namespace; 00193 00194 String m_use; 00195 00196 String m_encoding_style; 00197 00198 String m_parts; 00199 00200 SoapWSDLBody & 00201 operator = ( 00202 const SoapWSDLBody& rhs 00203 ); 00204 00205 SoapWSDLBody( 00206 const SoapWSDLBody& rhs 00207 ); 00208 }; 00209 } 00210 00211 #endif