I have a problem with a WCF service. I have a console application and I need to consume the service without using app.config, so I had to set the endpoint, etc. by code. I d
In my case, I had to specify messageEncoding to Mtom in app.config of the client application like that:
Both my client and server use basicHttpBinding. I hope this helps the others :)