When creating a web service using the WCF-BasicHttp adapter, make sure that you adjust the “Maximum received message size” binding configuration to jive with the size of the message you expect to hit the service. If a request is made to the web service that contains a payload that is larger than this setting, an HTTP 400 (Bad Message) error will be generated. The default maximum size is 64K, which seems a bit small.