Reputation: 332
There is a controller like
public Response doSomething(@RequestBody SomeObject someObject) {
...
}
It gets an XML and converts it to SomeObject. What I want to know how can we can get the xml as well[preferably as string]. Xml gets printed in debug logs, but how to get it as string in program.
Upvotes: 0
Views: 556