On Oct 31, 2012, at 6:38 AM, Maxence Dewil <[email protected]> wrote:
> I'm not sure it is a bug, so I submit this one to the community first:
> 
> Here is my problem:
> - The WSDLs of our business partner are on the internet BUT are invalid.
> - They provided me the valid WSDLs by mail.
> - I embedded the valid WSDLs in my project jar.
> - I embedded an XML Catalog in my project jar in order to prevent the
> cxf-codegen-plugin from downloading the invalid WSDLs from the internet.
> - I enabled the WSDL validation
> 
> But with cxf-codegen-plugin releases >= 2.6.1, the wsdl2java goal fails: it
> seems that the validation ignores the XML Catalog.
> And if I disable the validation, the wsdl2java goal succeeds. The XML
> Catalog is used in that case.
> 
> Thank you for your help


Is there any chance you could test this with the latest 2.7.1-SNAPSHOT version 
of CXF?    I made a bunch of changes in this area two weeks ago that may fix 
this, not really sure.   There are a few places in the JAXB code (particularly 
with JAXB 2.2.x) that does some funky (and incorrect) URL resolving that is 
very hard to override and "fix".

If the latest snapshots don't fix it, a simple test case attached to a JIRA 
would be great.

Thanks!
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to