You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Denis Schlesinger <sc...@ecs-gmbh.de> on 2005/11/24 12:00:16 UTC

Defining faults in the WSDD

Hi all,
 
does anyone here have knowledge of how to add a fault to a service in a
WSDD file that is serializable by AXIS and therefore appears in the
auto-generated WSDL file?
 
Since now I have tried to add this: 
 
<fault class="my.package.MyException/> where 'MyException' extends
java.rmi.RemoteException. When deploying I get a server-site error that
the class'java.lang.Throwable' can not be serialized. 
 
My web service method throws a 'MyException'. Am I on the right path or
is there a better way???
 
Please advise!
 
Thanks, Denis