#include <it_bus_config/soap_wsdl_operation.h>
Inheritance diagram for IT_Bus::SoapWSDLOperation:
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 String & | get_soap_action () const |
Return the soap action. | |
const String & | get_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::AnyType & | operator= (const IT_Bus::AnyType &) |
Assignment operator to an AnyType. | |
Private Attributes | |
String | m_soap_action |
String | m_soap_style |
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();
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.
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.
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.