wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring Consume xml ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Consume xml ?" Watch "Spring Consume xml ?" New topic

Spring Consume xml ?

Mag Wells
Ranch Hand

Joined: Jun 02, 2010
Posts: 38
Below is the code snippet of my Controller.

I use a poster to generate a POST request with content-type set to text/xml

The content that I use is -

However I get back a response -
Unsupported media type

out of clue ....

It is sorta covered in the JavaRanch Style Guide.
subject: Spring Consume xml ?
Similar Threads
How do I create a basic confirmation page with dynamic content?
Keeping user preferences for that page after periodic page refresh for multiple browsers / PC
AJAX 'POST' xml request to server
@Responsebody for HTTP msg and a View to show the HTTP response msg
Rendering XML as a response of @RequestMapping