javax.wsdl.Service Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libre-wsdl4j Show documentation
Show all versions of libre-wsdl4j Show documentation
Open and Free WSDL library: Web Services Description Language. Libre-wsdl4j is a fork of WSDL4J 1.6.3. WSL4j is a Java stub generator for WSDL. Many software projects still depends on WSL4j, so the idea is that libre-wsdl4j should be an actively maintained version of this software on GitHub. "WSDL, that's an anchronym i haven't heard in almost ten years." Still big in the enterprise world" - comments on the Internet.
The newest version!
/*
* (c) Copyright IBM Corp 2001, 2006
*/
package javax.wsdl;
import java.util.*;
import javax.xml.namespace.*;
/**
* This interface represents a service, which groups related
* ports to provide some functionality.
*
* @author Paul Fremantle
* @author Nirmal Mukhi
* @author Matthew J. Duftler
*/
public interface Service extends WSDLElement
{
/**
* Set the name of this service.
*
* @param name the desired name
*/
void setQName(QName name);
/**
* Get the name of this service.
*
* @return the service name
*/
QName getQName();
/**
* Add a port to this service.
*
* @param port the port to be added
*/
void addPort(Port port);
/**
* Get the specified port.
*
* @param name the name of the desired port.
* @return the corresponding port, or null if there wasn't
* any matching port
*/
Port getPort(String name);
/**
* Remove the specified port.
*
* @param name the name of the port to be removed.
* @return the port which was removed.
*/
Port removePort(String name);
/**
* Get all the ports defined here.
*/
Map getPorts();
}