You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Avner Levy <av...@gmail.com> on 2012/06/13 14:00:28 UTC

Avoid fault types generation in WSDL

Hi,

I'm using the java2ws to generate the wsdls for my project.

I want to reuse the faults types (@WebFault annotated classes) between 
services.

Currently the java2ws will append their definition into each wsdl.

Is there a way to avoid embedding the faults declarations into the wsdl?

The optimal would be to import an XSD into the wsdl (like what is done 
with the "location" attribute on XmlSchema for JAXB classes).

Thanks in advance,

   Avner