Re: marshalling issues

2014-06-11 Thread Lambert, Michael
One (hopefully) last hiccup. When attempting to marshal the following xsd: The JSONProvider produces a '$' value: "Reason": { "Text": { "$": "Invalid Query Parameter", "lang": "en" } } Is there a way to override the value? outTransformElem

Re: marshalling issues

2014-06-09 Thread Sergey Beryozkin
Hi Mike On 09/06/14 12:42, Lambert, Michael wrote: Thanks Sergey! The suggestions to use dropCollectionWrapperElement and dropRootElement worked. I apologize if the tone in my email sounded confrontational; it was not meant to be. I LOVE the tool. No problems at all. In fact your messages is a si

Re: marshalling issues

2014-06-09 Thread Lambert, Michael
Thanks Sergey! The suggestions to use dropCollectionWrapperElement and dropRootElement worked. I apologize if the tone in my email sounded confrontational; it was not meant to be. I LOVE the tool. I was however struggling to find a catalog of all the common parameters used to "tweek" the marshallin

Re: marshalling issues

2014-06-09 Thread Sergey Beryozkin
On 09/06/14 10:53, Sergey Beryozkin wrote: On 08/06/14 21:56, Lambert, Michael wrote: I take that back. Its now encapsulating the payload in a wrapper object. There should not be a "userDataType" object wrapped around the object: {"userDataType":{"id":11,"createDate":"2014-06-08T12:39:19.284-0

Re: marshalling issues

2014-06-09 Thread Sergey Beryozkin
On 08/06/14 21:56, Lambert, Michael wrote: I take that back. Its now encapsulating the payload in a wrapper object. There should not be a "userDataType" object wrapped around the object: {"userDataType":{"id":11,"createDate":"2014-06-08T12:39:19.284-04:00","updateDate":"2014-06-08T12:39:19.284-

Re: marshalling issues

2014-06-09 Thread Sergey Beryozkin
Hi On 08/06/14 19:44, Lambert, Michael wrote: I solved it but its non intuitive. I used the following block in my beans.xml content file: application/xml text/xml application/*+xml application/vnd.com.healthmedia.user-data-collection+xml;version=1.0 application/vnd.com.healthmedia.use

Re: marshalling issues

2014-06-08 Thread Lambert, Michael
I take that back. Its now encapsulating the payload in a wrapper object. There should not be a "userDataType" object wrapped around the object: {"userDataType":{"id":11,"createDate":"2014-06-08T12:39:19.284-04:00","updateDate":"2014-06-08T12:39:19.284-04:00","collectionDate":"2008-09-20T12:39:19.

Re: marshalling issues

2014-06-08 Thread Lambert, Michael
I solved it but its non intuitive. I used the following block in my beans.xml content file: application/xml text/xml application/*+xml application/vnd.com.healthmedia.user-data-collection+xml;version=1.0 application/vnd.com.healthmedia.user-data+xml;version=1.0 application/json

marshalling issues

2014-06-08 Thread Lambert, Michael
I have written an example service to implement standards I am trying to stand up where I work. I want to do contract first development and so derive all artifacts from a predefined xml schema and wadl for rest services. The project generates the artifacts and I import those artifacts into an impl