| Author |
web service exception handling
|
jim li
Ranch Hand
Joined: May 20, 2008
Posts: 177
|
|
hi ,
i declare 2 exception for my web service method, exception 'A' and exception 'B'.
web service method:
public void getClaim() throws B
exception definition:
public class B extends A.
public class A extends Exception.
problem:
when i generate wsdl file ->generate java class based on wsdl file (the class B extends exception instead of A, and also in the wsdl file class A is not there)
what i want is exception B should extend exception A instead of Exception class, how can i fix it?
thank you
|
 |
sarbjeet sidhu
Greenhorn
Joined: Jan 24, 2010
Posts: 11
|
|
Hi,
Please provide the schema and wsdl file from which you are trying to generate java classes.
Thanks
|
 |
 |
|
|
subject: web service exception handling
|
|
|