Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::ServiceIdentifier

Group:  Core Basic


Does not inherit

Local Index

Members

Header File

#include rwsf/core/ServiceIdentifier.h

Description

This class represents a location and an operation pair. These two items will uniquely identiy a web service operation. The location is represented by a URL ("http://server:port/path"). The operation is an unqualified XMLName, since the namespace doesn't really matter. Even though the first parameter to each constructors is a ServiceLocation, this class is still best constructed with an expression like:

rwsf::ServiceIdentifier op1Name("path/to/my/service", rwsf::XmlName("myOperation1")); rwsf::ServiceIdentifier op2Name("http://myServer:9999/path/to/my/service", rwsf::XmlName("myOperation2"));

Public Constructors

ServiceIdentifier();
ServiceIdentifier(const rwsf::ServiceLocation & location,
    const rwsf::XmlName & operation,
    const rwsf::XmlName & portType);
ServiceIdentifier(const rwsf::ServiceLocation & location,
    const rwsf::XmlName & operation);
ServiceIdentifier(const rwsf::ServiceIdentifier & s);

Public Destructors

~ServiceIdentifier();

Public Member Functions

std::string
asString() const;
std::string
asStringWithNS() const;
std::string
asStringWithPortType() const;
bool
equals(const rwsf::ServiceIdentifier & rhs) const;
rwsf::ServiceLocation
getLocation() const;
rwsf::XmlName
getOperation() const;
rwsf::XmlName
getPortType() const;
void
setLocation(const rwsf::ServiceLocation & location);
void
setOperation(const rwsf::XmlName & operation);
void
setPortType(const rwsf::XmlName & portType);

Public Operators

ServiceIdentifier &
operator=(const rwsf::ServiceIdentifier & rhs);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.