As Glen mentioned, this is completely per spec.   

You can work around it SLIGHTLY by refactoring your exceptions to store 
all their data in JAXB specified java beans (grabbed via getFaultInfo()) 
that implement the same heiarchy.   That said, when you run wsdl2java on 
the wsdl to generate code from it, that heiarchy would not be honored in 
the exceptions themselves. 

In anycase, this is all per spec.

Dan


On Monday 31 March 2008, Eric Gueidao wrote:
> Hello,
>
> I'm working on project with CXF and I try to keep the inheritance
> between exceptions in my WSDL but it doesn't work.
> It works well with data objects but when I generate the WSDL of my
> service with java2wsdl (2.0.4 and 2.0.5) or java2ws (2.1) I lose the
> inheritance between exceptions.
> Do you know, please, how to do for keeping inheritance between
> exceptions? If it's impossible to do it, can I be able to do it in the
> future CXF version?
>
> Thank you in advance,
> GUEIDAO Eric



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to