#include <it_bus/reference.h>
Inheritance diagram for IT_Bus::Reference:
Application code typically receives a Reference as part of a message exchange or else resolve ones from a Bus or a Service. A Reference contains all the information necessary in order to create a client proxy to the target Service.
A Reference represents a full Service so it may contain multiple ReferencePorts where each ReferencePort represent a WSDL Endpoint/Port.
Definition at line 297 of file reference.h.
Public Types | |
typedef IT_ReferenceReflection | IT_ReflectionType |
Public Member Functions | |
Reference () | |
Constructor. | |
Reference (const Reference ©) | |
Copy constructor. | |
virtual | ~Reference () |
Destructor. | |
virtual const IT_Bus::QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
const IT_Bus::ElementListT< IT_Bus::ReferencePort > & | get_port () const |
Returns an list of all ReferencePorts represented by the Service. | |
void | set_port (const IT_Vector< IT_Bus::ReferencePort > &val) |
Allows a user to populate a Reference with the endpoint information by setting the ReferencePorts representing the Service. | |
IT_Bus::QName & | get_service () |
Returns the QName of the Service represented by the the Reference. | |
const IT_Bus::QName & | get_service () const |
Returns the QName of the Service represented by the the Reference. | |
void | set_service (const IT_Bus::QName &val) |
Allows a user to set the QName of the Service representing the Reference. | |
IT_Bus::String & | get_wsdl_location () |
Returns a String which gives the user the location of WSDL that contains the Service meta-data for this Reference. | |
const IT_Bus::String & | get_wsdl_location () const |
Returns a String which gives the user the location of WSDL that contains the Service meta-data for this Reference. | |
void | set_wsdl_location (const IT_Bus::String &val) |
Allows the usert to set the String which specifies the location of WSDL for the Service meta-data for this Reference. | |
Private Attributes | |
IT_Bus::ElementListT< IT_Bus::ReferencePort > | m_port |
IT_Bus::QName | m_service_name |
IT_Bus::String | m_wsdl_location |
WSDL_Schema::tService * | m_service |
WS_Addressing::EndpointReferenceType | m_endpoint_reference |
bool | m_populate_epr_from_reference |
Friends | |
class | IT_ReferenceReflection |
class | WS_Addressing::EndpointReferenceUtil |
const IT_Bus::ElementListT<IT_Bus::ReferencePort>& IT_Bus::Reference::get_port | ( | ) | const |
Returns an list of all ReferencePorts represented by the Service.
const IT_Bus::QName& IT_Bus::Reference::get_service | ( | ) | const |
IT_Bus::QName& IT_Bus::Reference::get_service | ( | ) |
virtual const IT_Bus::QName& IT_Bus::Reference::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.
const IT_Bus::String& IT_Bus::Reference::get_wsdl_location | ( | ) | const |
IT_Bus::String& IT_Bus::Reference::get_wsdl_location | ( | ) |
void IT_Bus::Reference::set_port | ( | const IT_Vector< IT_Bus::ReferencePort > & | val | ) |
Allows a user to populate a Reference with the endpoint information by setting the ReferencePorts representing the Service.
const | IT_Vector<IT_Bus::ReferencePort> & val |
void IT_Bus::Reference::set_service | ( | const IT_Bus::QName & | val | ) |
void IT_Bus::Reference::set_wsdl_location | ( | const IT_Bus::String & | val | ) |