Hi Sergey,

When I try POST/PUT with input with only one Image inside Images without
specifying as an array, the POST/PUT works fine for me.

{
 "ns1.foo": {
          "ns1.id": 1,
          "ns1.name": "no:1-Foo"
          "ns1.images": {
                 "ns2.image": 
                       {
                            "ns2.imageUri": "thumbnail.jpg",
                            "ns2.height": 342,
                            "ns2.type": "thumbnail",
                            "ns2.width": 380
                       }
           },
     }
}

It fails, even when I give a single Image element in array the POST/PUT
fails. I guess, the error is because of the array of elements. I tried the
property 'serializeAsArray' but it did not help.

Can you please direct me, how I can give the input Json with an array of
elements.

Thanks
Senthil Arumugam
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Issue-with-Json-Namespace-in-POST-PUT-tp3276515p3279944.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to