cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] Commented: (CXF-2858) TransportURIResolver can not get the import resource file correctly
Date Mon, 21 Jun 2010 15:27:23 GMT


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 "*" 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:
>             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=""
>                       schemaLocation=""/>
>         </s:schema>
> The server replys with :
> <head><title>Document Moved</title></head>
> <body><h1>Object Moved</h1>This document may be found <a HREF="">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 "
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.

View raw message