You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/25 11:54:00 UTC

[jira] [Work logged] (CXF-8030) CXF WSDLToJava generated local WSDL does not map included local XSDs

     [ https://issues.apache.org/jira/browse/CXF-8030?focusedWorklogId=232776&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-232776 ]

ASF GitHub Bot logged work on CXF-8030:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Apr/19 11:53
            Start Date: 25/Apr/19 11:53
    Worklog Time Spent: 10m 
      Work Description: ivy-arus commented on pull request #549: [CXF-8030] Update XSD includes location in local WSDL
URL: https://github.com/apache/cxf/pull/549
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 232776)
            Time Spent: 10m
    Remaining Estimate: 0h

> CXF WSDLToJava generated local WSDL does not map included local XSDs
> --------------------------------------------------------------------
>
>                 Key: CXF-8030
>                 URL: https://issues.apache.org/jira/browse/CXF-8030
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.3.1
>            Reporter: Andreas Rusch
>            Priority: Major
>         Attachments: cxf_WSDLToJavaContainer.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When generating a WS client with WSDLToJava from a WSDL with an included (instead of imported) XSD, the WSDL file that gets generated does not link to the locally downloaded XSD.
> The code properly downloads the included XSD and also replaces all import locations with the downloaded ones, but not for any XSDs that are included.
> After some debugging and I found out that the code for replacing the included locations (<xs:include schemaLocation="\{link_to_xsd}"/>) in WSDLToJavaContainer.generateLocalWSDL(ToolContext) is completely missing. This would mean that the XSD would be loaded from the web location during runtime.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)