You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2012/10/24 09:28:11 UTC
[jira] [Created] (CXF-4598) Error resolving inline schema
references
Dennis Kieselhorst created CXF-4598:
---------------------------------------
Summary: 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.7.0, 2.6.3
Environment: Windows 7, JDK 1.6
Reporter: Dennis Kieselhorst
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
[jira] [Resolved] (CXF-4598) Error resolving inline schema
references
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CXF-4598) Error resolving inline schema
references
Posted by "Dennis Kieselhorst (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Kieselhorst updated CXF-4598:
------------------------------------
Attachment: cxf-4598-sampleproject.zip
> 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
> 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
[jira] [Commented] (CXF-4598) Error resolving inline schema
references
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483269#comment-13483269 ]
Daniel Kulp commented on CXF-4598:
----------------------------------
Seems to be an issue with the -validate flag. Remove that and the build will pass. It's still a bug, but that's at least a workaround.
> 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
> 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