cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Ghilain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6822) CLONE - java2ws -createxsdimports with packages that reference other packages should have schemaLocation in schema import
Date Mon, 07 Mar 2016 10:01:40 GMT
Matthieu Ghilain created CXF-6822:
-------------------------------------

             Summary: CLONE - java2ws -createxsdimports with packages that reference other
packages should have schemaLocation in schema import
                 Key: CXF-6822
                 URL: https://issues.apache.org/jira/browse/CXF-6822
             Project: CXF
          Issue Type: Bug
          Components: Tooling
         Environment: Windows XP, Sun JDK 1.5, CXF 2.1.2 or 2.2-SNAPSHOT
            Reporter: Matthieu Ghilain
            Assignee: Daniel Kulp
            Priority: Minor


Object in package A references another object in package B. Using -createxsdimports option
in java2ws creates schema imports and schemaLocation values properly in the .wsdl file but
not in the .xsd files. <It creates xs:import namespace="value"> without the schemaLocation=""
attribute, causing validation in most xml validators to fail. Workaround is to not use -createxsdimports,
so that everything is generated in a single wsdl file, which validates properly. However,
the schema files are more readable and reusable when created in separate files, instead of
inline within the wsdl file.

Attached sample demonstrates this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message