Name
Service
Synopsis
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.QNameportName
) throws ServiceException; public abstract Call createCall(javax.xml.namespace.QNameportName
, javax.xml.namespace.QNameoperationName
) throws ServiceException; public abstract Call createCall(javax.xml.namespace.QNameportName
, StringoperationName
) throws ServiceException; public abstract Call[ ] getCalls(javax.xml.namespace.QNameportName
) throws ServiceException; public abstract java.rmi.Remote getPort(ClassserviceEndpointInterface
) throws ServiceException; public abstract java.rmi.Remote getPort(javax.xml.namespace.QNameportName
, ClassserviceEndpointInterface
) 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 ...
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.