Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Web API XML Serialization
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Nick Cimer
9y
691
1
Reply
I am trying to get XML result in Web API but I get the following error:
<Error>
<Message>An error has occurred.</Message>
<ExceptionMessage>
The 'ObjectContent`1' type failed to serialize the response body for content type 'application/xml; charset=utf-8'.
</ExceptionMessage>
<ExceptionType>System.InvalidOperationException</ExceptionType>
<StackTrace/>
.
.
.
there is no problem in getting result in JSON format. I specifically need result in XML.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to call webservice from stored Procedure.
Creating WCF webservices and consuming in android.