How to reset 'stem' to 'exact' in ServletDestination

2010-02-10 Thread Sergey Beryozkin
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



Re: Apache Licensed JAX-RS Spec API JAR

2010-02-10 Thread Bryant Luk
Hi,

We (some followers to Wink dev mailing list) were wondering if the CXF
dev community would be interested in helping to contribute/consume a
JAX-RS 1.0/1.1 API JAR for Geronimo's spec jars that were Apache
licensed.  I couldn't find an Apache licensed version of the JSR-311
spec.  I see other communities that have implemented JSR specs are
using Apache licensed of their specs.  I don't know the exact
procedure to contribute a spec api jar to Geronimo, but I don't think
this would take too much effort considering that most of the JAX-RS
spec is annotation/interface based with very few actual classes.

On Wed, Feb 10, 2010 at 2:50 PM, Davanum Srinivas  wrote:
> Got it. i mis-remembered seeing a jax-rs api jar from geronimo. Looks
> like CXF uses the CDDL jar as well. May be we should ping them to see
> if they would be interested.
>
> +1 from me.
>
> -- dims
>
> On Wed, Feb 10, 2010 at 3:44 PM, Nicholas L Gallardo
>  wrote:
>>
>> +1 from me Bryant.
>>
>> There isn't a JSR spec for JAX-RS available in Geronimo as of yet. I don't 
>> know where they've come from in the past, but I'm assuming they've been 
>> contributed by the relevant technical teams/communities.
>>
>> The API jar currently in the maven repo is CDDL licensed.
>>
>> -Nick
>>
>>
>>
>> Davanum Srinivas ---02/10/2010 02:40:56 PM---Why can't we use the JSR spec 
>> from geronimo? :)
>>
>> Davanum Srinivas 
>>
>> 02/10/2010 02:40 PM
>>
>> Please respond to
>> wink-...@incubator.apache.org
>>
>> To
>> wink-...@incubator.apache.org
>> cc
>>
>> Subject
>> Re: Apache Licensed JAX-RS Spec API JAR
>> Why can't we use the JSR spec from geronimo? :)
>>
>> -- dims
>>
>> On Wed, Feb 10, 2010 at 3:32 PM, Bryant Luk  wrote:
>> > Hi,
>> >
>> > I see that several Apache projects based on JSR specs have geronimo
>> > (Apache licensed) versions of the spec.  Should we also consider
>> > contributing one for JAX-RS 1.0 and 1.1?  I don't see one in the Maven
>> > repository that's Apache licensed.
>> >
>> > Thanks.
>> >
>>
>>
>>
>> --
>> Davanum Srinivas :: http://davanum.wordpress.com
>>
>
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>