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: jimma
Assignee: jimma
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.
-
You can reply to this email to add a comment to the issue online.