IT_Bus::SoapWSDLHeader Class Reference

#include <it_bus_config/soap_wsdl_header.h>

Inheritance diagram for IT_Bus::SoapWSDLHeader:

IT_Bus::SoapWSDLExtensionElement IT_WSDL::WSDLExtensionElement IT_Bus::XMLNode IT_WSDL::WSDLNode IT_Bus::AnyType IT_Bus::PrefixResolver IT_Bus::XMLSaxHandler IT_Bus::ImplementationDetails List of all members.

Detailed Description

Class representing the <soap:header> child element within the WSDL file binding, operation <input> or <output> elements.

Definition at line 17 of file soap_wsdl_header.h.

Public Member Functions

virtual void read (const IT_Bus::QName &, IT_Bus::ComplexTypeReader &) throw ((IT_Bus::DeserializationException))
 Not implemented.
virtual void write (const IT_Bus::QName &, IT_Bus::ComplexTypeWriter &) const throw ((IT_Bus::SerializationException))
 Not implemented.
virtual void write (IT_Bus::XMLOutputStream &) const throw ((IT_Bus::IOException))
 Writes the attributes for the node to the stream specified; same behavior as write_attributes.
virtual IT_Bus::AnyTypeoperator= (const IT_Bus::AnyType &)
 Assignment operator to an AnyType.
virtual void write_attributes (IT_Bus::XMLOutputStream &stream) const throw ((IOException))
 Writes the attributes for the node to the stream specified.
const Stringget_use () const
 Return the usage style.
const Stringget_part () const
 Return the part representing the header information.
const QNameget_message () const
 Return the message representing the header.

Private Attributes

String m_use
String m_part
QName m_message


Member Function Documentation

virtual void IT_Bus::SoapWSDLHeader::write ( IT_Bus::XMLOutputStream  )  const throw ((IT_Bus::IOException)) [virtual]

Writes the attributes for the node to the stream specified; same behavior as write_attributes.

Parameters:
A reference to the desired stream.

Reimplemented from IT_WSDL::WSDLExtensionElement.

virtual void IT_Bus::SoapWSDLHeader::write_attributes ( IT_Bus::XMLOutputStream stream  )  const throw ((IOException)) [virtual]

Writes the attributes for the node to the stream specified.

Parameters:
A reference to the desired stream.

Reimplemented from IT_Bus::XMLNode.

const String& IT_Bus::SoapWSDLHeader::get_use (  )  const

Return the usage style.

Returns:
String containing either literal or encoded.

For example, for the WSDL file:

 <binding name="Greeter_SOAPBinding" type="tns:Greeter">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="greetMe">
   <soap:operation soapAction="" style="document"/>
    <input name="greetMeRequest">
     . . .
     <soap:header message="tns:header_message" part="header_info" use="literal"/>
    </input>
  . . .
  </operation>
 </binding>
 

This method returns the value of the use attribute: literal.

const String& IT_Bus::SoapWSDLHeader::get_part (  )  const

Return the part representing the header information.

Returns:
String containing the value of the part attribute.

For example, for the WSDL file:

 <binding name="Greeter_SOAPBinding" type="tns:Greeter">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="greetMe">
   <soap:operation soapAction="" style="document"/>
    <input name="greetMeRequest">
     . . .
     <soap:header message="tns:header_message" part="header_info" use="literal"/>
    </input>
  . . .
  </operation>
 </binding>
 

This method returns the value of the part attribute: header_info.

const QName& IT_Bus::SoapWSDLHeader::get_message (  )  const

Return the message representing the header.

Returns:
QName of the message.

For example, for the WSDL file:

 <binding name="Greeter_SOAPBinding" type="tns:Greeter">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="greetMe">
   <soap:operation soapAction="" style="document"/>
    <input name="greetMeRequest">
     . . .
     <soap:header message="tns:header_message" part="header_info" use="literal"/>
    </input>
  . . .
  </operation>
 </binding>
 

This method returns:

 Prefix:        tns
   Where tns represents the actual prefix
   http://www.iona.com/soap_header
 Local part:    header_message
 Namespace URL: xmlns:tns="http://www.iona.com/soap_header"
   Which is the targetNamespace in the WSDL file.
 


Generated on Tue Mar 20 15:28:10 2007 for Artix by  doxygen 1.5.1-p1