views:

11

answers:

0

Hi,

I have a scenario where I get XML from client to server which exposes REST web services using AXIS2. I want to directly store this XML to DB (without converting into Java object), with some more information like user to whom XML belongs etc. I might store XML as

We also have hibernate in the same application for ORM. Now my question is

1) How can I directly get XML from client using without converting to Java object? (Because that does not add any value to me)

2)Can I use hibernate in above scenario?

Thanks in advance.