cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Würl (JIRA) <j...@apache.org>
Subject [jira] [Created] (CXF-5743) Full path is missing from schema included in imported schema when parsing WSDL
Date Wed, 14 May 2014 05:10:14 GMT
Andreas Würl created CXF-5743:
---------------------------------

             Summary: Full path is missing from schema included in imported schema when parsing
WSDL
                 Key: CXF-5743
                 URL: https://issues.apache.org/jira/browse/CXF-5743
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.7.11
            Reporter: Andreas Würl


Starting with 2.7.11, the wsdl cannot be parsed by clients, because the imported schema only
shows the filename of the included subschema.

The setup is like this:

{code:title="wsdl-file"}
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" ...>
    <wsdl:types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema">
            <import namespace="any"> schemaLocation="xsd/level1.xsd"/>
        </schema>
    </wsdl:types>
...
</wsdl:definitions>
{code}

{code:title="level1.xsd"}
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"...>
    <xsd:include schemaLocation="level2.xsd"/>

...
</xsd:schema>
{code}

In the resulting wsdl "level1.xsd" is correctly linked, but the include of "level2.xsd" only
leads to the file name instead of an URL. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message