Defining faults in the WSDD

2005-11-24 Thread Denis Schlesinger
Title: Nachricht



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: 

faultclass="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


RE: Defining faults in the WSDD

2005-11-24 Thread Grossberger, Guenter
Title: Nachricht



MyExtension should extend AxisFault.

Best regards,--DI Günter 
GrossbergerConsultant 
Tel: +43 1 329 50 161Software AG Österreich Fax: +43 1 329 50 
171Guglgasse 7-9 GSM: 
+43 676 833 29 2611030 
Wien 
http://www.softwareag.com/austria


  
  
  From: Denis Schlesinger 
  [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 
  12:00 PMTo: axis-user@ws.apache.orgSubject: 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: 
  
  faultclass="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