Hi
On 10/09/13 20:06, jasminadesai wrote:
Please disregard my earlier message.
I have to prefix each element in json with the namespace value configured in
json namespace.
How will the client know what the prefix will be?
This is the problem, you really need to have the client and server code
sharing the same prefixes. The main question is, is there any advantage
of keeping the namespaces in JSON payloads ?
I'd suggest for the server to drop namespaces for JSON payloads, this
will help non Java clients, and for Java clients you can use
Transformation feature (applied directly to JSONProvider) to convert the
in JSON message to namespace-qualified JAXB bean
Cheers, Sergey
Regards,
Jasmina
--
View this message in context:
http://cxf.547215.n5.nabble.com/Namespace-in-JSON-tp5733656p5733811.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com