cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: How to reset 'stem' to 'exact' in ServletDestination
Date Thu, 11 Feb 2010 19:50:13 GMT

Honestly, it doesn't look like the ServletTransportFactory ever looks at the 
context match strategy.   Only the jetty stuff does.   Thus, you would need to 
update the ServletTransportFactory to take that into account.

Dan



On Wed February 10 2010 3:34:34 pm Sergey Beryozkin wrote:
> Hi
> 
> 
> 
> I'm playing with a custom MessageObserver implementation showing how to
> redirect requests to either SOAP or JAXRS endpoint
> 
> sharing a 'virtual' address, that is we have a
> jaxws:endpoint/@address=/a/b and jaxrs:server/@address=/a with the JAXRS
> root resource having
> 
> a '/b' @Path.
> 
> 
> 
> I need to ensure that a SOAP ServletDestination does not get selected by
> ServletController when non-SOAP requests are coming in.
> 
> For it to happen, I need to ensure the SOAP destination has the 'exact'
> contextMatch strategy.
> 
> 
> 
> But I really can not figure how to do it.
> 
> Configuring httpconf:destination in Spring does not make a difference.
> 
> What can be done here ? Any hints will be appreciated
> 
> 
> 
> Thanks, Sergey

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message