[
https://issues.apache.org/jira/browse/CXF-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880865#action_12880865
]
Daniel Kulp commented on CXF-2858:
----------------------------------
This is somewhat working as designed. By default, the HTTP transport in CXF
does not follow redirects (which is what this is trying to do) due to security
requirements and such.
You can configure a http:conduit in your config for
"http://schemas.xmlsoap.org/.*" or similar to turn on redirects. Or, possibly
preferrably, have a catalog that maps from one URL to the other.
> 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.