A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Custom exception missing extends Exception in jaxb generated classes.
Joined: Sep 26, 2008
Jan 07, 2012 14:29:47
I'm using a WSDL first approach with apache cxf 2.2. I have a custom defined exception defined in WSDL. When i'm generaetd the stubs, for the exception class, I donot see header called which extends from Exception in the generated stub.
<soap:fault name="SecurityException" use="literal"/>
In the generated classes, I see the generated class as
I was exception to see, something like public class
extends Exception instead.
Is there any special parameter I'm missing to specify. Please advice.
I agree. Here's the link:
subject: Custom exception missing extends Exception in jaxb generated classes.
Doubt in Exceptions.....
casting exception when using stubs generated from wsdl
Web Method Faults for JAX-WS
Axis2 POJO web service - wsdl generating xs:anyType
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015