WCF 4 REST Template and base64 strings - HTTP 400 -



WCF 4 REST Template and base64 strings - HTTP 400 -

i trying submit long (approx. 155000 characters) base64 string wcf rest service using wcf 4 rest template made available microsoft. whenever seek submitting the xml through post method either client application or fiddler http status code 400 in response request. have appropriate web.config settings, pieced various blog posts , other stackoverflow posts.

<bindings> <webhttpbinding> <binding name="httpbinding" maxbufferpoolsize="2147483647" maxreceivedmessagesize="2147483647" transfermode="streamed" opentimeout="00:25:00" closetimeout="00:25:00" sendtimeout="00:25:00" receivetimeout="00:25:00"> <readerquotas maxdepth="64" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647"/> </binding> </webhttpbinding> </bindings>

what missing here? else works great; submit requests text/xml format service , else returns 200, long i'm not working base64 string. know there 1000000 other posts wcf message size, appreciate take quick @ mine.

here link sample request trying wcf service handle.

i appreciate thoughts might have.

try enabling tracing @ server side see causing server reject request. also, double check that:

the <endpoint> element service has bindingconfiguration attribute value "httpbinding" the <service> element service name attribute matches fully-qualified name of service class (i.e., namespace, same value utilize in .svc file).

wcf base64 http-status-code-400

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -