[
https://issues.apache.org/jira/browse/CXF-6745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Hackel resolved CXF-6745.
--------------------------------
Resolution: Won't Fix
Each endpoint can be configured by it's final address (PublishedEndpointUrl).
Its configured/created during startup time where my original request would
required a "per request" approach.
So i need to know the external "base url" of the system during start up phase.
Luckly i already have such a property in the application configuration.
> Relative Schema includes/imports in WSDL are not working (becoming absolute
> which is a problem behind a proxy)
> --------------------------------------------------------------------------------------------------------------
>
> Key: CXF-6745
> URL: https://issues.apache.org/jira/browse/CXF-6745
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.1.4
> Reporter: Thomas Hackel
>
> In the (contract first/human created) WSDL there is a relative import
> {code:xml}
> <xsd:include schemaLocation="MyTypes.xsd"/>
> {code}
> When accessing the Services and retrieving the related WSDL the location is
> being replaced by an absolute address:
> {code:xml}
> <xsd:include
> schemaLocation="http://10.1.2.3:8080/app/mappedservice?xsd=MyTypes.xsd"/>
> {code}
> It should be relative like:
> {code:xml}
> <xsd:include schemaLocation="app/mappedservice?xsd=MyTypes.xsd"/>
> {code}
> This is a problem especially behind a proxy service.
> The service creator does not know the "final" absolute address of the
> WSDL/Schema.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)