I am using WCF service with dynamic proxy creation on static IP. Url = "http://" + staticIP + "/CM.svc"
BasicHttpBinding binding = new BasicHttpBinding();
Also have set binding.MaxReceivedMessageSize = 2147483647; Maxbuffersize, MaxbufferPoolsize, Receivetimeout, Opentimeout, closetimeout, sendtimeout, transferMode...
EndpointAddress endpoint = new EndpointAddress(Url);
ChannelFactory<ICMOnlineApp> factory = new ChannelFactory<ICmOnlineApp>(binding, endpoint);
foreach(var operation in factory.Endpoint.Contract.Operations)
{
operation.Behaviors.find<DataContractSerializerOperationBehavior>().DataContractResolver = new DynamicTypeResolver();
ICMOnlineApp proxy = factory.CreateChannel();
return proxy;
}
Also i have done all settings in web.config file of WCF service.
Still i am getting this error. Please guide.