Click here to Skip to main content
16,021,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here,I create a RESTful WCF webservices POST method & want to add some content in database from this method .But ,my requirement is that,consume Resulted xml from GET WebService method & want to post it from POST method.

Followings,the error in fiddler....

XML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>
Posted

1 solution

I have the same issue too. Testings are good and successful in Windows 7 Premium with IIS 7.5. Roll it out to Windows 2008 server (standard version) with IIS 7, then all HTTP POST are having this error 411 content lenght issues.
HELP!!! I need to roll it out to production.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900