It's not a secret anymore!
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
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 ....

I agree. Here's the link:
subject: Spring Consume xml ?
It's not a secret anymore!