A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
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.
subject: web service exception handling
Sample Questions for 288 - Need answers
JAXWS can not add additional classes
Hierarchical exception handling in WSDL
subclasses not being mapped in web service
doubt in web service - confused in a class which is neither ws nor client
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014