Library: XSD/Types
Package: WSDL
Header: Poco/XSD/Types/Service.h
This class represents a WSDL Service.
Direct Base Classes: AnnotatedObject
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable
Member Functions: accept, addPort, name, ports, setName
Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release
typedef std::vector < Port > Ports;
typedef Poco::AutoPtr < Service > Ptr;
Service();
Creates the Service.
Service(
const std::string & name
);
Creates the Service.
~Service();
Destroys the Service.
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
void addPort(
const std::string & name,
const Poco::XML::Name & binding
);
Adds a new port to the Service.
const std::string & name() const;
Returns the name.
const Ports & ports() const;
Returns the Service ports.
void setName(
const std::string & name
);
Sets the name.