RE: JAX-RS specifying multiple values in a pathparam

2013-05-13 Thread dmathai
If the number of parameters are fixed you can try "/products/{productIdOne}/{productIdTwo}" -- View this message in context: http://cxf.547215.n5.nabble.com/JAX-RS-specifying-multiple-values-in-a-pathparam-tp555098p5727586.html Sent from the cxf-user mailing list archive at Nabble.com.

RE: JAX-RS specifying multiple values in a pathparam

2008-06-13 Thread Tim Morrow 2
ingle path segment then ? Cheers, Sergey -- View this message in context: http://www.nabble.com/JAX-RS-specifying-multiple-values-in-a-pathparam-tp17702725p17824890.html Sent from the cxf-user mailing list archive at Nabble.com.

RE: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Sergey Beryozkin
So may be you can use ',' as a separator between multiple params in a single path segment then ? Cheers, Sergey -Original Message- From: Tim Morrow 2 [mailto:[EMAIL PROTECTED] Sent: 09 June 2008 20:36 To: users@cxf.apache.org Subject: RE: JAX-RS specifying multiple values in a

RE: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Tim Morrow 2
> > -Original Message- > From: Tim Morrow 2 [mailto:[EMAIL PROTECTED] > Sent: 09 June 2008 17:51 > To: users@cxf.apache.org > Subject: Re: JAX-RS specifying multiple values in a pathparam > > > Couple more points: > > * A properly escaped semi-colon (%3B)

RE: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Sergey Beryozkin
r, but that didn't > work. I tried a @MatrixParam, but as far as I can tell that is for > name=value pairs. > > Any help or example would be greatly appreciated, > > Thanks, > > Tim > > > -- View this message in context: http://ww

Re: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Tim Morrow 2
I tried a @MatrixParam, but as far as I can tell that is for > name=value pairs. > > Any help or example would be greatly appreciated, > > Thanks, > > Tim > > > -- View this message in context: http://www.nabble.com/JAX-RS-specifying-multiple-values-in-a-pathparam-tp17702725p17737052.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Ian Roberts
Tim Morrow 2 wrote: Thanks for the suggestions. I could work with an upper limit of values rather than an open ended list. I tried @Path("/{id1};{id2};{id3}") with 3 @PathParam parameters but got a "No operation matching request path ... is found" error. I also tried keeping @Path("/{id}") mapp

Re: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Tim Morrow 2
e. > > I tried defining an @PathParam on an array parameter, but that didn't > work. I tried a @MatrixParam, but as far as I can tell that is for > name=value pairs. > > Any help or example would be greatly appreciated, > > Thanks, > > Tim > > >

Re: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Tim Morrow 2
t;) in the function body > > I'm not sure JAX-RS provides for a way to have an open-ended list of > parameters(Path, Matrix, etc) be mapped to an array. > Still, it's an interesting idea, perhaps we can come up with some > extension to handle such cases... > > Cheers

Re: JAX-RS specifying multiple values in a pathparam

2008-06-09 Thread Sergey Beryozkin
rrow 2" <[EMAIL PROTECTED]> To: Sent: Friday, June 06, 2008 11:52 PM Subject: JAX-RS specifying multiple values in a pathparam > > I can easily invoke a resource passing in a single value, for example: > /products/123 > Is it possible to bind a url like this: > /prod

JAX-RS specifying multiple values in a pathparam

2008-06-06 Thread Tim Morrow 2
that didn't work. I tried a @MatrixParam, but as far as I can tell that is for name=value pairs. Any help or example would be greatly appreciated, Thanks, Tim -- View this message in context: http://www.nabble.com/JAX-RS-specifying-multiple-values-in-a-pathparam-tp17702725p17702725.html