Re: *** REST, large POST, and "Server Error" (for gurus only)
- From: "Mr. Arnold" <MR. Arnold@xxxxxxxxxx>
- Date: Fri, 31 Jul 2009 11:38:57 -0400
"Amil Hanish" <amilhanish@xxxxxxxxxxx> wrote in message news:uu0T2eSEKHA.1376@xxxxxxxxxxxxxxxxxxxxxxx
I am using REST to POST a large set of XML content. I get an exception when I send XML that is like 10M in size.
"The server encountered an error processing the request. See server logs for more details"
If I try to debug the service, my RESTful method is never called. I've increased all the General and ReaderQuotas on the bind, as well as increased the <httpRuntime maxRequestLength="20480"/>. Even if I turn on WCF diagnostics, nothing in the diagnotic log.
Any ideas how either 1) how to figure out what the REAL error is, or 2) how to send very large XML sets via REST POST?
I did have to modify the CLIENT DataContractSerializer behavior to that it could create larger graphs (MaxItemsInObjectGraph); maybe that affects the host as well on the deserialization.
With a WCF Web Service and the ReaderQuotas, the numbers for string length would have to be increased on the client and server sides.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4294 (20090731) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
.
- References:
- *** REST, large POST, and "Server Error" (for gurus only)
- From: Amil Hanish
- *** REST, large POST, and "Server Error" (for gurus only)
- Prev by Date: Web Service Configuration
- Next by Date: Re: Web Service Configuration
- Previous by thread: *** REST, large POST, and "Server Error" (for gurus only)
- Next by thread: Cannot add to list of known types, another type with same contract
- Index(es):
Relevant Pages
|