[
https://issues.apache.org/jira/browse/CXF-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-2858.
------------------------------
Resolution: Won't Fix
By design for security reasons, we don't follow redirects by default. With
2.7.4, if you DO enable redirects, the imports should be resolved properly.
> TransportURIResolver can not get the import resource file correctly
> -------------------------------------------------------------------
>
> Key: CXF-2858
> URL: https://issues.apache.org/jira/browse/CXF-2858
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Reporter: Jim Ma
> Assignee: Jim Ma
>
> When the TransportURIResolver process this import xsd ,
> <s:schema>
> <s:import namespace="http://schemas.xmlsoap.org/soap/envelope/"
>
> schemaLocation="http://schemas.xmlsoap.org/soap/envelope"/>
> </s:schema>
> The server replys with :
> <head><title>Document Moved</title></head>
> <body><h1>Object Moved</h1>This document may be found <a
> HREF="http://schemas.xmlsoap.org/soap/envelope/">here</a></body>
> If we do not set our wsdlLocator , the wsdl4j can resolve this import schema
> correctly .
> Please note this xsd file is actually located on
> "http://schemas.xmlsoap.org/soap/envelope/ default.xsd" ,It is probably
> because the TransportURIResolver does not set any http headers to request
> this resource. Look at if we should set some required http headers to
> request some http resources.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira