I have resource which produces and cosumes XML and JSON in the entity
body fine.
The entity type maps to a JAXB Element. When I tried to decode the same
element by passing it as a header parameter, XML marshal and unmarshal
works fine but not the JSON unmarshaling, it fails with error 400. I am
using jettison mapped JSON.
should the JSON unmarshal for @HeaderPararm work? if not how is
jersey decoding the xml but not JSON. I am using Jersey 1.12 , in
tomcat with spring 3.
Thanks