cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme Dougal <>
Subject Passing Enum in JSON Body
Date Wed, 08 Jan 2014 16:28:45 GMT

I have a rest service with the following path


I'm calling PUT on this URI in order to change the elementStatus of the
element with the supplied {id}

I have a java Enum ElementStatus that I want to pass in the request body as
JSON, {"elementStatus":"ACTIVE"}

But cant get this to work... using the JacksonJSONProvider and annotating a
factory method with @JSONProducer the String it gets in that method is
simply {    (one single open brace)

Any ideas ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message