Hmm... looks like there may be a similar issue still around. I've upgraded
to the latest jra jar and I'm already using the latest snapshot.
/rest/mediaTypes/{any id} still invokes and returns /rest/mediaTypes.
On 8/3/07, Dan Diephouse <[EMAIL PROTECTED]> wrote:
>
> Hi Brad,
>
> This was a bug in the JRA jar. You can try updating to the alpha-4
> snapshot
> and it should fix things:
>
>
> http://repo1.maven.org/maven2/org/codehaus/jra/jra/1.0-alpha-4/jra-1.0-alpha-4.jar
>
> (If that doesn't work try the 2.0.1/SNAPSHOT builds from CXF as well, but
> I'm pretty sure CXF didn't require any changes for the problem)
>
> - Dan
>
> On 8/2/07, Brad Harper <[EMAIL PROTECTED]> wrote:
> >
> > I have several identically configured REST services working with one
> > exception. When the method I call is getMediaType(s) - (
> /rest/mediaTypes
> > /rest/mediaType/{1} ), the get mediaTypes services returns the correct
> > data. However, when I try to access a specific type by id
> > /rest/mediaTypes/1, I still get the entire list back. Basically CXF is
> > not
> > interpreting the '/1' appended to the url. Renaming the exact methods
> and
> > corresponding annotations to getXMediaTypes resolves the issue. Could
> > this
> > be a naming collision with something in the HTTP headers?
> >
>
>
>
> --
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.com/blog
>