System.ServiceModel.ProtocolException: Тип содержимого text/html; charset=UTF-8 ответного сообщения не соответствует типу содержимого привязки (application/soap+xml; charset=utf-8). При использовании особого кодировщика необходимо правильно реализовать метод IsContentTypeSupported. Первые 1024 байтов ответного сообщения: "
Service
This is a Windows© Communication Foundation ser".
Server stack trace:
в System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory1 factory, WebException responseException, ChannelBinding channelBinding) в System.ServiceModel.Channels.HttpChannelFactory1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
в System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
в System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
в System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
в System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
в System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
в System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
в System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
в StockSharp.Community.IAuthenticationService.Login(String email, String password)
в StockSharp.Community.AuthenticationClient.<>c__DisplayClass28_0.b__0(IAuthenticationService f)
в Ecng.Net.ChannelHelper.Invoke[TChannel,TResult](ChannelFactory1 factory, Func2 handler)
в StockSharp.Community.BaseServiceClient1.Invoke[TResult](Func2 handler)
в StockSharp.Community.AuthenticationClient.Login(Nullable1 product, String login, SecureString password) в StockSharp.Community.AuthenticationClient.get_SessionId() в StockSharp.Licensing.LicenseClient.#=qSxltsxj2EN_Mrc5FGbTwd07bjveKAWTZvRTqNrBvve0=(ILicenseService #=qBhNxte6TRZ1DQ9lR6eldaQ==) в Ecng.Net.ChannelHelper.Invoke[TChannel,TResult](ChannelFactory1 factory, Func2 handler) в StockSharp.Licensing.LicenseClient.#=qVKrgyVBGme6owNXUV9sMnQ==(Func2 #=q2lCOHFy8zvVntIRLSBpx_w==)
в StockSharp.LicenseTool.MainWindow.<>c__DisplayClass7_0.<Generate_OnClick>b__0(Object o, DoWorkEventArgs ea)
в System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
в System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
OK---------------------------