#include <it_bus_config/soap12_wsdl_address.h>
Inheritance diagram for IT_Bus::Soap12WSDLAddress:
Definition at line 26 of file soap12_wsdl_address.h.
Public Member Functions | |
const String & | get_location () const |
Returns a string containing the transport endpoint address for a Web service. | |
void | set_location (const String &location) |
Set the transport endpoint address for a Web service. | |
virtual void | write_attributes (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException)) |
Writes the attributes for the node to the stream specified. | |
virtual void | read (const IT_Bus::QName &element_name, ComplexTypeReader &reader) throw ((IT_Bus::DeserializationException)) |
Use the reader to read the specified element. | |
virtual void | write (const IT_Bus::QName &element_name, IT_Bus::ComplexTypeWriter &writer) const throw ((IT_Bus::SerializationException)) |
Use the writer to write the specified element. | |
virtual IT_WSDL::WSDLExtensionElement * | clone () const |
Return a pointer to a new instance with its location initialized to the same value as this instance. | |
virtual IT_WSDL::WSDLExtensionElement * | clone_unique (const IT_Bus::QName &name) const |
Return a pointer to a new instance with its location initialized to a value different from this instance. | |
virtual void | write (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException)) |
Write the contents of the node. | |
virtual void | read_contents (ComplexTypeReader &os) throw ((IT_Bus::DeserializationException)) |
Read the member values into the instance. | |
virtual void | write_contents (ComplexTypeWriter &os) const throw ((IT_Bus::SerializationException)) |
Write the member values of the instance. | |
virtual const IT_Bus::QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
virtual AnyType & | copy (const AnyType &rhs) |
Return a reference to this instance. | |
Static Public Member Functions | |
static const Soap12WSDLAddress * | get_from_port (const IT_WSDL::WSDLPort &wsdl_port) |
Obtain the Soap12WSDLAddress from the specified WSDLPort instance. | |
Private Attributes | |
String | m_location |
unsigned long | m_default_port |
IT_Mutex | m_lock |
const String& IT_Bus::Soap12WSDLAddress::get_location | ( | ) | const [virtual] |
Returns a string containing the transport endpoint address for a Web service.
Implements IT_Bus::EndpointAddress.
void IT_Bus::Soap12WSDLAddress::set_location | ( | const String & | location | ) | [virtual] |
Set the transport endpoint address for a Web service.
String | containing the Web service address, for example, an HTTP URL such as http://localhost:9000. |
Reimplemented from IT_Bus::EndpointAddress.
static const Soap12WSDLAddress* IT_Bus::Soap12WSDLAddress::get_from_port | ( | const IT_WSDL::WSDLPort & | wsdl_port | ) | [static] |
Obtain the Soap12WSDLAddress from the specified WSDLPort instance.
A | reference to a WSDLPort instance. |
virtual void IT_Bus::Soap12WSDLAddress::write_attributes | ( | IT_Bus::XMLOutputStream & | stream | ) | const throw ((IT_Bus::IOException)) [virtual] |
Writes the attributes for the node to the stream specified.
A | reference to the desired stream. |
Reimplemented from IT_Bus::XMLNode.
virtual void IT_Bus::Soap12WSDLAddress::read | ( | const IT_Bus::QName & | element_name, | |
ComplexTypeReader & | reader | |||
) | throw ((IT_Bus::DeserializationException)) [virtual] |
Use the reader to read the specified element.
QName | of the desired element. | |
A | reference to the reader. |
Reimplemented from IT_Bus::SequenceComplexType.
virtual void IT_Bus::Soap12WSDLAddress::write | ( | const IT_Bus::QName & | element_name, | |
IT_Bus::ComplexTypeWriter & | writer | |||
) | const throw ((IT_Bus::SerializationException)) [virtual] |
Use the writer to write the specified element.
QName | of the desired element. | |
A | reference to the writer. |
Reimplemented from IT_Bus::SequenceComplexType.
virtual IT_WSDL::WSDLExtensionElement* IT_Bus::Soap12WSDLAddress::clone | ( | ) | const [virtual] |
Return a pointer to a new instance with its location initialized to the same value as this instance.
For example, if the location of this Soap12WSDLAddress instance is http://localhost:9000
, the new Soap12WSDLAddress instance will have the same value for the location.
Reimplemented from IT_WSDL::WSDLExtensionElement.
virtual IT_WSDL::WSDLExtensionElement* IT_Bus::Soap12WSDLAddress::clone_unique | ( | const IT_Bus::QName & | name | ) | const [virtual] |
Return a pointer to a new instance with its location initialized to a value different from this instance.
QName | to use in creating the unique location value. |
For example, if the location of this Soap12WSDLAddress instance is http://localhost:9000
, the new Soap12WSDLAddress instance will have the location value: http://localhost:9000/local_part_of_QName
.
Reimplemented from IT_WSDL::WSDLExtensionElement.
virtual void IT_Bus::Soap12WSDLAddress::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.
virtual void IT_Bus::Soap12WSDLAddress::read_contents | ( | ComplexTypeReader & | os | ) | throw ((IT_Bus::DeserializationException)) [virtual] |
Read the member values into the instance.
Derived subclasses implement this method.
Implements IT_Bus::SequenceComplexType.
virtual void IT_Bus::Soap12WSDLAddress::write_contents | ( | ComplexTypeWriter & | os | ) | const throw ((IT_Bus::SerializationException)) [virtual] |
Write the member values of the instance.
Derived subclasses implement this method.
Implements IT_Bus::SequenceComplexType.
virtual const IT_Bus::QName& IT_Bus::Soap12WSDLAddress::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Implements IT_Bus::AnyType.
Return a reference to this instance.
Reimplemented from IT_Bus::Soap12WSDLExtensionElement.