A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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.
casting exception when using stubs generated from wsdl
Web Method Faults for JAX-WS
Doubt in Exceptions.....
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-2014