wood burning stoves 2.0*
The moose likes Spring and the fly likes spring mvc xml post request not working 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 mvc xml post request not working" Watch "spring mvc xml post request not working" New topic

spring mvc xml post request not working

Ishant Agarwal

Joined: Sep 09, 2011
Posts: 22
Hello everyone,

I am working on spring mvc 3.1 where I was stucked at some point to handle an xml request.

below is my spring.xml

below is my controller

below is the employee class which needs to bind with xml

below is my xml which I am request and want to bind the object for the same:-

Below is the error which i am getting while making a request:-

HTTP Status 415 - Status report<b>message. The server refused this request because the request entity is in a format not supported by the requested resource for the requested method ().

let me know if any other detail required and help me out.

I agree. Here's the link: http://aspose.com/file-tools
subject: spring mvc xml post request not working
Similar Threads
The prefix "oxm" for element "oxm:jaxb2-marshaller" is not bound
Spring MVC SimpleFormController problem
Spring IOC issues in MVC WebApplication with JSF integration
XML view on browser using JAXB2marshallers in Spring Restful Web service.
REST web service return both XML or JSON