I am trying to send an array of about 50 elements to a WCF service method, but I'm always receiving a `(404) Bad Request` error.

I think that it has to do with the message size or something like that, because if I send an empty array it works.

I did some research and added some stuff in the web.config of the WCF but I still can't manage to get this to work.

Can anyone please provide some additional information as to how I can maybe **increase the size of the message I can send**?

---

**[UPDATE] Solution:**

[Solution](https://stackoverflow.com/questions/740039/c-wcf-wcf-service-returning-a-404-bad-request-when-sending-an-array-of-items/740087#740087)