Hi William,
Obvious things first...
Did you set the ContentType header of the HTTP request from the client?
Best
Paul
On 16 July 2013 00:52, William Ferguson <william.ferguson_at_xandar.com.au>wrote:
> I'm struggling to determine why Jersey is not matching a JSon POST Request
> against a Resource configured to consume MediaType.APPLICATION_JSON
>
> I have configured my Application with JacksonFeature.class and packages
> for my Resources. And the GET Resources are happily being served. But any
> Requests that consume JSon POJO are not being matched.
>
> @POST
> @Path("/create")
> @Consumes(MediaType.APPLICATION_JSON)
> @Produces(MediaType.APPLICATION_JSON)
> public Meet createMeetJson(Meet meet)
>
> What component is responsible for making the matching decision?
> Is there some way to switch on debug level logging so I can determine why
> the match is not being made?
>
> Jersey looked so promising originally but I'm finding the lack of
> visibility very frustrating.
>
> William
>
>