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