having the exact same problem. Would it be possible to post your
configuration or some information on how your implementation is different
from the jax-rs demo?
Thanks
Tom
Frank Lynch-3 wrote:
Hello Priya,
I will email you a zip file containing a modified version of the basic
jax-rs
on the ProduceMime thing yesterday, you can specify
multiple mime types in the @ProduceMime annotation, you simply need to
encose the array of strings in curly braces like the following:
@ProduceMime({application/xml, application/json})
duh! ;)
--Frank
On Wed, 2008-01-23 at 14:33 -0500, Frank Lynch wrote:
I'm
I've create a JIRA for this issue at:
https://issues.apache.org/jira/browse/CXF-1405
I've also attached a patch to the JIRA which should resolve this for
you.
best regards,
--Frank
On Thu, 2008-01-24 at 12:58 -0500, Frank Lynch wrote:
I just had a chance to look a little closer
I'm seeing the same thing here, no matter what I do the runtime seems to
want to dispatch the call to the method annotated application/json. I
also noted that it isn't possible to annotate a single method with
multiple mime types. i.e. per the dec4th jsr311 draft it should be
possible t0 annotate
Hi Priya,
On your #1 - its unfortunate that we throw a NullPointerException, but
the actual issue is outlined in the log:
SEVERE: No operation found for path: /, contentType: */*, Accept contentType:
*/*
i.e. your sending a request to a path that doesn't have an operation
associated with it.
Hello Priya,
I will email you a zip file containing a modified version of the basic
jax-rs demo using spring off-list (using maven jetty). It should give
you an idea of how to use jax-rs along with spring in a webapp.
You will of course need to modify your tomcat configuration to enable
https.