I want to publish a Webservice with custom binding configuration. I am using a custom binding configuration to increase the default message size of 65536 bytes. The problem I am
Note that your problem is seems to be related with Metadata behaviour, before that you have to check name of service
i.e.WebApplication1.MyService in below code;
this should be in same order namespace.service