About the Service Endpoint Interface
See Also
A service endpoint interface declares the methods that a remote client may invoke on the service.
For JAX-RPC (J2EE 1.4) web services,
a service endpoint interface must conform to a few rules:
- It extends the java.rmi.Remote interface.
- It must not have constant declarations, such as public final static.
- The methods must throw the java.rmi.RemoteException or one of its subclasses.
(The methods may also throw service-specific exceptions.)
- Method parameters and return types must be supported JAX-RPC types.
- For JAX-WS (Java EE 5) the service endpoint interface is optional,
but normally not used.
- See Also
- Building a Web Service from a WSDL File
- Building a Document-Style Web Service
- Building a RPC-Style Web Service
- Building a Web Service Client
Legal Notices