Forum Discussion
Anonymous
15 years agoI was sending a XML request, the server is expecting a XML request as well. The response i have pasted above was when media type was application/XML. When I changed the media type to text/XML i am getting the response below. I am doing a POST
<meta content="HTML Tidy, see <!-- w --><a class=" postlink="" />www.w3.org" name="generator"/>
JBossWeb/2.0.0.GA_CP - Error report
<meta content="HTML Tidy, see <!-- w --><a class=" postlink="" />www.w3.org" name="generator"/>
HTTP Status 415 - Cannot consume content type
type
Status report
message
Cannot consume content type
description
The server refused this request because the request entity is in a format not supported by the requested resource for the requested method (Cannot consume content type).