Thomas Hackel created CXF-6745:
----------------------------------

             Summary: 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)

Reply via email to