cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-848) WSDLValidator not working well with the bundle jar
Date Fri, 27 Jul 2007 20:25:52 GMT

    [ https://issues.apache.org/jira/browse/CXF-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516096
] 

Dan Diephouse commented on CXF-848:
-----------------------------------

This is a result of a bug in the maven shade plugin which creates the bundle jar. It wasn't
creating directory entries for things like schemas/wsdl/ and therefore ClassLoader.getResources("schemas/wsdl")
was not workign correctly. I'll be doing a shade plugin release tomorrow at which time I'll
close this issue.

> WSDLValidator not working well with the bundle jar
> --------------------------------------------------
>
>                 Key: CXF-848
>                 URL: https://issues.apache.org/jira/browse/CXF-848
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.1
>            Reporter: maomaode
>            Assignee: Dan Diephouse
>             Fix For: 2.0.1
>
>
> WSDLValidator has problem with the bundle jar, the exception like below
> org.apache.cxf.tools.common.ToolException:
> line 8 column 56 of file:/C:/src/java/apache/cxf/distribution/HelloWorld.wsdl: cvc-elt.1:
Cannot find the declaration of element 'wsdl:definitions'.
>         at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:202)
>         at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:118)
>         at org.apache.cxf.tools.validator.internal.SchemaValidator.isValid(SchemaValidator.java:102)
>         at org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:113)
>         at org.apache.cxf.tools.validator.WSDLValidator.execute(WSDLValidator.java:65)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:52)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:39)
>         at org.apache.cxf.tools.validator.WSDLValidator.main(WSDLValidator.java:93)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message