A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
web service exception handling
Joined: May 20, 2008
Feb 21, 2011 14:36:54
i declare 2 exception for my web service method, exception 'A' and exception 'B'.
web service method:
public void getClaim() throws B
public class B extends A.
public class A extends Exception.
when i generate wsdl file ->generate
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?
Joined: Jan 24, 2010
Feb 21, 2011 23:48:57
Please provide the schema and wsdl file from which you are trying to generate java classes.
I agree. Here's the link:
subject: web service exception handling
subclasses not being mapped in web service
Sample Questions for 288 - Need answers
Hierarchical exception handling in WSDL
doubt in web service - confused in a class which is neither ws nor client
JAXWS can not add additional classes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013