Re: Exception in webservices

From: Sasi Kala <sasikala_jmk_at_YAHOO.COM>
Date: Tue, 06 Aug 2002 03:27:36 -0600

Hi Botond,

JAX RPC 1.0 Final Release Specification says in section 5.2.1 that

1. The JAX-RPC specification requires that a JAX-RPC service endpoint interface must follow the following:

Service endpoint interface must extend java.rmi.Remote either directly or indirectly


2. A JAX-RPC service endpoint interface that extends the java.rmi.Remote interface may declare service specific exceptions in a method signature in addition to the required java.rmi.RemoteException.

3. A service specific exception declared in a remote method signature must be a checked exception. It must extend java.lang.Exception either directly or indirectly but must not be a RuntimeException.