oracle.wsdl.internal
Interface Service

All Superinterfaces:
Documentable, Extensible, Namable, java.io.Serializable, WSDLElement

public interface Service
extends WSDLElement, Namable, Documentable, Extensible

This interface represents the WSDL Service definition.


Method Summary
TypeMethod
 void addPort(Port port)
          Add a port
 Port getPort(java.lang.String name)
          Get the port with the specified name
 java.util.Map getPorts()
          Get all ports
 void removePort(java.lang.String name)
          Remove the port with the specified name
 
Methods inherited from interface oracle.wsdl.internal.WSDLElement
getOwnerDefinitions, getParent, serialize
 
Methods inherited from interface oracle.wsdl.internal.Namable
getName, setName
 
Methods inherited from interface oracle.wsdl.internal.Documentable
getDocumentation, setDocumentation
 
Methods inherited from interface oracle.wsdl.internal.Extensible
addExtensibilityElement, getExtensibilityElements, getExtensibilityElements, getFirstExtensibilityElement, removeExtensibilityElements
 

Method Detail

getPorts

public java.util.Map getPorts()
Get all ports
Returns:
a map from name of port to Port object

getPort

public Port getPort(java.lang.String name)
Get the port with the specified name
Parameters:
name - the name of port
Returns:
port; return null if not exist.

addPort

public void addPort(Port port)
Add a port
Parameters:
port - the port to add

removePort

public void removePort(java.lang.String name)
Remove the port with the specified name
Parameters:
name - the name of port to remove


Copyright © 2001 Oracle SOAP. All Rights Reserved.