June 2003
Intermediate to advanced
672 pages
23h 48m
English
Service
public interface Service {
// Property Accessor Methods (by property name)
public abstract javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry( );
public abstract Iterator getPorts( ) throws ServiceException;
public abstract javax.xml.namespace.QName getServiceName( );
public abstract javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry( );
public abstract java.net.URL getWSDLDocumentLocation( );
// Public Instance Methods
public abstract Call createCall( ) throws ServiceException;
public abstract Call createCall(javax.xml.namespace.QName portName)
throws ServiceException;
public abstract Call createCall(javax.xml.namespace.QName portName,
javax.xml.namespace.QName operationName) throws ServiceException;
public abstract Call createCall(javax.xml.namespace.QName portName,
String operationName) throws ServiceException;
public abstract Call[ ] getCalls(javax.xml.namespace.QName portName)
throws ServiceException;
public abstract java.rmi.Remote getPort(Class serviceEndpointInterface)
throws ServiceException;
public abstract java.rmi.Remote getPort(javax.xml.namespace.QName portName,
Class serviceEndpointInterface) throws ServiceException;
}Service is the core interface of the JAX-RPC
client-side API, representing a service element in
a WSDL definition of a web service. There are several ways to obtain
a Service object, which are discussed in the
following list.
By using a tool such as wscompile to generate stubs from a WSDL file or an equivalent ...
Read now
Unlock full access