cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-4598) Error resolving inline schema references
Date Wed, 24 Oct 2012 16:48:12 GMT

     [ https://issues.apache.org/jira/browse/CXF-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-4598.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.1
                   2.6.4
         Assignee: Daniel Kulp
    
> Error resolving inline schema references 
> -----------------------------------------
>
>                 Key: CXF-4598
>                 URL: https://issues.apache.org/jira/browse/CXF-4598
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.6.3, 2.7.0
>         Environment: Windows 7, JDK 1.6
>            Reporter: Dennis Kieselhorst
>            Assignee: Daniel Kulp
>             Fix For: 2.6.4, 2.7.1
>
>         Attachments: cxf-4598-sampleproject.zip
>
>
> This issue is similar to CXF-4487.
> There were no problems or warnings generating the sources for the attached project with
2.5.6.
> Warnings appear using 2.6.2:
> {code}
> [WARNING] C:\dev\cxf-4487\src\main\resources\wsdl\MyService.wsdl [10:13]: src-resolve.4.2:
Error resolving component 'tld:PriceDocument'. It was detected that 'tld:PriceDocument' is
in namespace 'http://cxf4487.dekies.de/david/tld', but components from this namespace are
not referenceable from schema document 'file:/C:/dev/cxf-4487/src/main/resources/wsdl/MyService.wsdl#types1'.
If this is the incorrect namespace, perhaps the prefix of 'tld:PriceDocument' needs to be
changed. If this is the correct namespace, then an appropriate 'import' tag should be added
to 'file:/C:/dev/cxf-4487/src/main/resources/wsdl/MyService.wsdl#types1'.
> org.xml.sax.SAXParseException: src-resolve.4.2: Error resolving component 'tld:PriceDocument'.
It was detected that 'tld:PriceDocument' is in namespace 'http://cxf4487.dekies.de/david/tld',
but components from this namespace are not referenceable from schema document 'file:/C:/dev/cxf-4487/src/main/resources/wsdl/MyService.wsdl#types1'.
If
> this is the incorrect namespace, perhaps the prefix of 'tld:PriceDocument' needs to be
changed. If this is the correct namespace, then an appropriate 'import' tag should be added
to 'file:/C:/dev/cxf-4487/src/main/resources/wsdl/MyService.wsdl#types1'.
> {code}
> Starting with 2.6.3/ 2.7.0 the generation breaks the build:
> {code}
> [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java (wsdl-MyService.wsdl)
on project generated-server: Execution wsdl-MyService.wsdl of goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java
failed: Schema Error : src-resolve: Cannot resolve the name 'tld:PriceDocument' to a(n) 'element
declaration' component. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java
(wsdl-MyService.wsdl) on project generated-server: Execution wsdl-MyService.wsdl of goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java
failed: Schema Error : src-resolve: Cannot resolve the name 'tld:PriceDocument' to a(n) 'element
declaration' component.
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message