A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
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
Sample Questions for 288 - Need answers
Hierarchical exception handling in WSDL
JAXWS can not add additional classes
doubt in web service - confused in a class which is neither ws nor client
subclasses not being mapped in web service
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015