cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: xsd:import schemaLocation url with query params
Date Mon, 23 Apr 2012 17:47:09 GMT
On Monday, April 23, 2012 02:51:32 AM pwanner wrote:
> Hi Aki,
> 
> I finally figured out what the problem is.
> 
> The url I specified in the import is an url asking nexus for the latest
> snapshot of the xsd.
> 
> Nexus is answering with a "301 Moved Permanently" with the redirect url on
> the latest snapshot.

You can configure the http conduit to turn on the redirects:

<http:conduit name="http://nexus.xxx.com/.*">
   <http:client AutoRedirect="true"/>
</http:conduit>

That should allow it to follow that.

Dan



> 
> Wsdl2java dont kwow how to follow redirection I suppose... :-)
> 
> At the end, the problem had nothing related to the query parameters in the
> url.
> 
> Thank you for your help Aki.
> 
> Regards.
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/xsd-import-schemaLocation-url-with-query-
> params-tp5651282p5658837.html Sent from the cxf-user mailing list archive
> at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message