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-5743) Full path is missing from schema included in imported schema when parsing WSDL
Date Thu, 30 Mar 2017 18:49:41 GMT

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

Daniel Kulp resolved CXF-5743.
------------------------------
       Resolution: Fixed
         Assignee: Daniel Kulp
    Fix Version/s: 3.2.0
                   3.1.11
                   3.0.13

> 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
>            Assignee: Daniel Kulp
>             Fix For: 3.0.13, 3.1.11, 3.2.0
>
>
> 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="xsd/level2.xsd"/>
> ...
> </xsd:schema>
> {code}
> In the resulting wsdl 'level1.xsd' is correctly linked, but when retrieving the "level1.xsd'
the reference to 'level2.xsd' only shows the file name instead of an URL. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message