javax.wsdl
public interface Service extends Serializable, ElementExtensible
Method Summary | |
---|---|
void | addPort(Port port)
Add a port to this service.
|
Element | getDocumentationElement()
Get the documentation element. |
Port | getPort(String name)
Get the specified port.
|
Map | getPorts()
Get all the ports defined here. |
QName | getQName()
Get the name of this service.
|
void | setDocumentationElement(Element docEl)
Set the documentation element for this document. |
void | setQName(QName name)
Set the name of this service.
|
Parameters: port the port to be added
Returns: the documentation element
Parameters: name the name of the desired port.
Returns: the corresponding port, or null if there wasn't any matching port
Returns: the service name
Parameters: docEl the documentation element
Parameters: name the desired name