The maximum message size quota for incoming messages (65536) has been exceeded

As per this question’s answer You will want something like this: <bindings> <basicHttpBinding> <binding name=”basicHttp” allowCookies=”true” maxReceivedMessageSize=”20000000″ maxBufferSize=”20000000″ maxBufferPoolSize=”20000000″> <readerQuotas maxDepth=”32″ maxArrayLength=”200000000″ maxStringContentLength=”200000000″/> </binding> </basicHttpBinding> </bindings> Please also read comments to the accepted answer there, those contain valuable input.

How to add custom soap headers in wcf?

Check out the WCF Extras on Codeplex – it’s an easy extension library for WCF which offers – among other things – custom SOAP headers. Another option is to use WCF message contracts in your WCF service – this also easily allows you to define and set WCF SOAP headers. [MessageContract] public class BankingTransaction { … Read more

Enable SSL for my WCF service

This page on MSDN explains WCF Binding Security. The BasicHttpBinding class is primarily used to interoperate with existing Web services, and many of those services are hosted by Internet Information Services (IIS). Consequently, the transport security for this binding is designed for seamless interoperation with IIS sites. This is done by setting the security … Read more

Calling WCF service by VBScript

Don’t use MSSOAP. I think it is out of support now, for the past 3 or 4 years. Consider using the XmlHttp, which is part of MSXML, and is supported and continues to be maintained. You will have to construct a SOAP envelope manually. But it’s more reliable this way. example code ‘ URL to … Read more

How to handle Ajax JQUERY POST request with WCF self-host

Ok, now there are some real MSDN gurus out there who have written solutions, but I cannot figure them out: But I have come up with a simple solution. At least in WCF 4.5 you can add your own OperationContract for dealing with OPTIONS requests: [OperationContract] [WebInvoke(Method = “OPTIONS”, UriTemplate = “*”)] void GetOptions(); … Read more

How to use Fiddler to monitor WCF service

You need to add this in your web.config <> <defaultProxy> <proxy bypassonlocal=”False” usesystemdefault=”True” proxyaddress=”″ /> </defaultProxy> </> then Start Fiddler on the WEBSERVER machine. Click Tools | Fiddler Options => Connections => adjust the port as 8888.(allow remote if you need that) Ok, then from file menu, capture the traffic. That’s all, but don’t forget … Read more