Name

Service

Synopsis

public interface Service extends RegistryEntry {
// Public Instance Methods
    public abstract void addServiceBinding(ServiceBinding serviceBinding)
       throws javax.xml.registry.JAXRException;             //L0
    public abstract void addServiceBindings(Collection serviceBindings)
       throws javax.xml.registry.JAXRException;             //L0
    public abstract Organization getProvidingOrganization(  )
       throws javax.xml.registry.JAXRException;             //L0
    public abstract Collection getServiceBindings(  )
       throws javax.xml.registry.JAXRException;             //L0
    public abstract void removeServiceBinding(ServiceBinding serviceBinding)
       throws javax.xml.registry.JAXRException;             //L0
    public abstract void removeServiceBindings(Collection serviceBindings)
       throws javax.xml.registry.JAXRException;             //L0
    public abstract void setProvidingOrganization(Organization providingOrganization) 
       throws javax.xml.registry.JAXRException;             //L0
}

Service is a simple container object that holds a set of ServiceBindings. A Service object is created by an Organization to describe a service that it wants to publish in the registry. An Organization may have any number of associated Service objects, which are created using the createService( ) method of LifeCycleManager and added using the addService( ) or addServices( ) methods of the Organization interface. A registry client can locate a Service using the findServices( ) method of BusinessQueryManager. When the target registry is UDDI, it is only possible to search for services provided by a specified ...

Get Java Web Services in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.