IT_Bus::SoapWSDLOperation Class Reference

#include <it_bus_config/soap_wsdl_operation.h>

Inheritance diagram for IT_Bus::SoapWSDLOperation:

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:operation> child element within the WSDL file binding <operation> element.

Definition at line 16 of file soap_wsdl_operation.h.

Public Member Functions

virtual void read (const IT_Bus::QName &, IT_Bus::ComplexTypeReader &) throw ((IT_Bus::DeserializationException))
 Read the value into the instance.
virtual void write (const IT_Bus::QName &, IT_Bus::ComplexTypeWriter &) const throw ((IT_Bus::SerializationException))
 Write the content of the instance.
virtual void write (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException))
 Write the contents of the node.
const Stringget_soap_action () const
 Return the soap action.
const Stringget_soap_style () const
 Return the encoding style.
virtual void write_attributes (IT_Bus::XMLOutputStream &stream) const throw ((IOException))
 Writes the attributes for the node to the stream specified.
virtual IT_Bus::AnyTypeoperator= (const IT_Bus::AnyType &)
 Assignment operator to an AnyType.

Private Attributes

String m_soap_action
String m_soap_style


Member Function Documentation

virtual void IT_Bus::SoapWSDLOperation::read ( const IT_Bus::QName ,
IT_Bus::ComplexTypeReader  
) throw ((IT_Bus::DeserializationException)) [inline, virtual]

Read the value into the instance.

Derived subclasses implement this method.

Reimplemented from IT_WSDL::WSDLExtensionElement.

Definition at line 34 of file soap_wsdl_operation.h.

virtual void IT_Bus::SoapWSDLOperation::write ( const IT_Bus::QName ,
IT_Bus::ComplexTypeWriter  
) const throw ((IT_Bus::SerializationException)) [inline, virtual]

Write the content of the instance.

Derived subclasses implement this method.

Reimplemented from IT_WSDL::WSDLExtensionElement.

Definition at line 43 of file soap_wsdl_operation.h.

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

Write the contents of the node.

This method is typically invoked on an instance of the IT_WSDL::WSDLDefinitions class to write a copy of the in-memory representation of the WSDL model to a file that will be accessible to other applications. For example,

 // The WSDL model may be obtained from the Service
 IT_WSDL::WSDLDefinitions &definitions = service.get_definitions();

 // Now initialize an XMLOutputStream and invoke the write()
 // method on the WSDLDefinitions object.
 IT_Bus::FileOutputStream stream("<path to, and name of, the output file>");
 IT_Bus::XMLOutputStream xml_stream(stream, true);
 definitions.write(xml_stream);
 stream.close();
 

Parameters:
IT_Bus::XMLOutputStream to which to write the node contents.

Reimplemented from IT_WSDL::WSDLExtensionElement.

const String& IT_Bus::SoapWSDLOperation::get_soap_action (  )  const

Return the soap action.

Returns:
String containing the value of the soapAction 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"/>
   . . .
  </operation>
 </binding>
 

This method returns the value of the soapAction attribute: <an empty="" string>="">.

const String& IT_Bus::SoapWSDLOperation::get_soap_style (  )  const

Return the encoding style.

Returns:
String containing the value of the style 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"/>
   . . .
  </operation>
 </binding>
 

This method returns the value of the style attribute: document.


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