I don't think you usually throw (or can even throw) RemoteExceptions with JAX-WS. IIRC RemoteExceptions are for JAX-RPC only[1].
Glen [1] http://www.ibm.com/developerworks/webservices/library/ws-tip-jaxwsrpc3/ Am Donnerstag, den 03.01.2008, 12:53 -0800 schrieb yulinxp: > sample wsdl_first demos how to throw a customized exception: PingMeFault. > But how to handle a defined exception like RemoteException? > Currently, when I generate code, RemoteException would be removed from my > interface. > > public interface HelloWorld { > public void sayHi( > java.lang.String text > ) throws PingMeFault, RemoteException; > }