#include <it_bus_config/soap_wsdl_header.h>
Inheritance diagram for IT_Bus::SoapWSDLHeader:
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::AnyType & | operator= (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 String & | get_use () const |
Return the usage style. | |
const String & | get_part () const |
Return the part representing the header information. | |
const QName & | get_message () const |
Return the message representing the header. | |
Private Attributes | |
String | m_use |
String | m_part |
QName | m_message |
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.
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.
A | reference to the desired stream. |
Reimplemented from IT_Bus::XMLNode.
const String& IT_Bus::SoapWSDLHeader::get_use | ( | ) | const |
Return the usage style.
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.
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.
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.