my dog learned polymorphism
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 Elasticsearch in Action this week in the Big Data 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 ....

rocket mass heater kickstarter
subject: Spring Consume xml ?