小编Ogh*_*omu的帖子

接收对我的服务的 HTTP 响应时出现 WCF 错误

大家好,我使用 WCF 创建了一个服务,但是当我测试我的服务时,有些服务成功完成,为什么有些服务给我下面的错误。关于如何解决这些问题有什么想法吗?谢谢

An error occurred while receiving the HTTP response to http://localhost:8733/PortOperation/Operator_Service/ws. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

Server stack trace: 
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1.RequestClientReliableChannelBinder`1.OnRequest(TRequestChannel channel, Message message, TimeSpan timeout, …
Run Code Online (Sandbox Code Playgroud)

.net c# wcf web-services wcf-binding

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

.net ×1

c# ×1

wcf ×1

wcf-binding ×1

web-services ×1