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-6161) wsdl2java can use invalid local filename when working with wsdl imports
Date Fri, 24 Mar 2017 17:46:41 GMT

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

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

> wsdl2java can use invalid local filename when working with wsdl imports
> -----------------------------------------------------------------------
>
>                 Key: CXF-6161
>                 URL: https://issues.apache.org/jira/browse/CXF-6161
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.7.14
>         Environment: Windows platform
>            Reporter: Martijn Aben
>            Assignee: Daniel Kulp
>             Fix For: 3.0.13, 3.1.11
>
>
> When using wsdl2java on an WSDL which has an wsdl import like:
> <wsdl:import namespace="http://tempuri.org/MyService/ExternalWSDL" location="http://localhost/WebApplication1/WebService1.asmx?wsdl=wsdl1"/>
> WSDLToJavaContainer.generateLocalWSDL tries to create a temporary file on disk named
"WebService1.asmx?wsdl=wsdl1" on Windows this is an invalid filename due to the question mark
(?).
> I have a proposed solution for this: just like with schema imports simply use a numbered
file on disk importNN.wsdl. I will be submitting a pull request for this soon.



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

Mime
View raw message