cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <>
Subject Re: AW: redirect with relative Location
Date Mon, 29 Jul 2013 09:44:45 GMT
On 29/07/13 08:18, Mitchell, Jermaine wrote:
> Many thanks for your reply Sergey!!
> But could you please give us an example how this must be configured in cxf.xml according
to the WSDiscoveryServiceImpl (SoapEnvelope, XAddrs)!?

The contextual properties can be set on a per-client basis, example, in 
WS-Discovery case, they would be set in jaxws:client/jaxws:properties,

or in cxf.xml, inside cxf:bus/properties, that should do it

Cheers, Sergey

> Thanks again
> -----Urspr√ľngliche Nachricht-----
> Von: Sergey Beryozkin []
> Gesendet: Freitag, 26. Juli 2013 12:07
> An:
> Betreff: Re: redirect with relative Location
> On 18/04/13 17:46, onranoord wrote:
>> yeah. succes. i implemented a customtransportfactory that instantiates
>> a customhttpconduit.
>> by overriding the aforementioned method the redirect succeeds.
> FYI, in CXF 2.7.7-SNAPSHOT you can configure HTTPConduit to auto-follow redirects (this
property has always been supported) and then add a "http.redirect.relative.uri" contextual
property, and that will do it for you, and then this can further be secured by validating
that we still get the same host redirection (we don't use URL resolve function so virtually
no chance to somehow produce a diff host URL from a rel
> redirect) by setting a "" property - the latter should probably
be set to true in most auto-redirect cases...
> Cheers, Sergey
>> --
>> View this message in context:
>> 345p5726508.html Sent from the cxf-user mailing list archive at

View raw message