it_bus_config/soap12_wsdl_header.h

00001 #ifndef _IT_BUS_CONFIG_SOAP12_WSDL_HEADER_H_
00002 #define _IT_BUS_CONFIG_SOAP12_WSDL_HEADER_H_
00003 
00004 // @Copyright 2006 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus_pdk/messaging_transport.h>
00008 #include <it_bus_config/soap12_wsdl_extension_element.h>
00009 #include <it_bus_config/soap12_wsdl_header_fault.h>
00010 
00011 namespace IT_Bus
00012 {
00013     typedef IT_Vector<Soap12WSDLHeaderFault*> HeaderFaultsT;
00014 
00020     class IT_SOAP12_API Soap12WSDLHeader : 
00021       public Soap12WSDLExtensionElement
00022     {
00023       public:
00024         Soap12WSDLHeader(
00025             IT_WSDL::WSDLExtensibleNode* parent
00026         );
00027 
00028         virtual ~Soap12WSDLHeader();
00029 
00030         bool
00031         parse(
00032             const XMLIterator&         element_iterator,
00033             const XMLNode&             element,
00034             IT_WSDL::WSDLErrorHandler& error_handler
00035         );
00036 
00037         bool
00038         accept_element(
00039             const XMLIterator& element_iterator,
00040             const XMLNode&     element
00041         );
00042 
00046         virtual void
00047         read(
00048             const QName&       /*element_name*/,
00049             ComplexTypeReader& /*reader*/
00050         ) throw((IT_Bus::DeserializationException));
00051 
00055         virtual void
00056         write(
00057             const QName&       /*element_name*/,
00058             ComplexTypeWriter& /*writer*/
00059         ) const throw((IT_Bus::SerializationException));
00060 
00067         virtual void
00068         write(
00069             XMLOutputStream& /*stream*/
00070         ) const throw((IT_Bus::IOException));
00071 
00075         virtual AnyType&
00076         operator=(
00077             const AnyType& /*rhs*/
00078         );
00079 
00085         virtual void
00086         write_attributes(
00087             XMLOutputStream& stream
00088         ) const throw((IOException));
00089 
00116         const String&
00117         get_use() const;
00118 
00145         const String&
00146         get_part() const;
00147 
00182         const QName&
00183         get_message() const;
00184 
00212         const String&
00213         get_namespace() const;
00214 
00244         const String&
00245         get_encoding_style() const;
00246 
00276         const HeaderFaultsT&
00277         get_faults() const;
00278 
00279       private:
00280         Soap12WSDLHeader&
00281         operator=(
00282             const Soap12WSDLHeader& rhs
00283         );
00284 
00285         Soap12WSDLHeader (
00286             const Soap12WSDLHeader& rhs
00287         );
00288 
00289         QName                       m_message;
00290         String                      m_part;
00291         String                      m_use;
00292         String                      m_namespace;
00293         String                      m_encoding_style;
00294         HeaderFaultsT               m_header_faults;
00295         IT_WSDL::WSDLErrorHandler*  m_error_handler;
00296     };
00297 }
00298 
00299 #endif  

Generated on Tue Mar 20 15:27:45 2007 for Artix by  doxygen 1.5.1-p1