IT_Bus::Reference Class Reference

#include <it_bus/reference.h>

Inheritance diagram for IT_Bus::Reference:

IT_Bus::SequenceComplexType IT_Bus::ComplexType IT_Bus::AnyType IT_Bus::ImplementationDetails List of all members.

Detailed Description

Class representing a reference to a Web service.

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)
 Copy constructor.
virtual ~Reference ()
 Destructor.
virtual const IT_Bus::QNameget_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::QNameget_service ()
 Returns the QName of the Service represented by the the Reference.
const IT_Bus::QNameget_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::Stringget_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::Stringget_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::ReferencePortm_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


Member Function Documentation

const IT_Bus::ElementListT<IT_Bus::ReferencePort>& IT_Bus::Reference::get_port (  )  const

Returns an list of all ReferencePorts represented by the Service.

Returns:
const IT_Bus::ElementListT<IT_Bus::ReferencePort> &

const IT_Bus::QName& IT_Bus::Reference::get_service (  )  const

Returns the QName of the Service represented by the the Reference.

This would correspond to the QName in the WSDL

Returns:
const QName &

IT_Bus::QName& IT_Bus::Reference::get_service (  ) 

Returns the QName of the Service represented by the the Reference.

This would correspond to the QName in the WSDL

Returns:
QName &

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.

Returns:
IT_Bus::QName.

Implements IT_Bus::AnyType.

const IT_Bus::String& IT_Bus::Reference::get_wsdl_location (  )  const

Returns a String which gives the user the location of WSDL that contains the Service meta-data for this Reference.

The location is a URL

Returns:
const String &

IT_Bus::String& IT_Bus::Reference::get_wsdl_location (  ) 

Returns a String which gives the user the location of WSDL that contains the Service meta-data for this Reference.

The location is a URL

Returns:
String &

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.

Parameters:
const IT_Vector<IT_Bus::ReferencePort> & val

void IT_Bus::Reference::set_service ( const IT_Bus::QName val  ) 

Allows a user to set the QName of the Service representing the Reference.

This would correspond to the QName in the WSDL

Parameters:
const QName & value

void IT_Bus::Reference::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.

The location can be treated as a URL.

Parameters:
const String & val


Generated on Thu Sep 7 11:40:06 2006 for Artix by  doxygen 1.4.7