WebService的HttpWebResponse [英] HttpWebResponse by WebService

查看:93
本文介绍了WebService的HttpWebResponse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。我正在尝试使用HttpWebResponse并获得以下异常:"底层连接已关闭:发送时发生意外错误"并且遵循内部异常:"验证失败,因为远程方已关闭传输流"。该应用程序是Web服务。尝试发送此请求不是由Web服务(常规Windows应用程序)工作正常。可能是一些IIS配置?谢谢。


Amir

Hello. I'm trying to use HttpWebResponse and getting the following exception: "The underlying connection was closed: An unexpected error occurred on a send" and following Inner Exception: "Authentication failed because the remote party has closed the transport stream". The application is web service. trying to send this request not by the web service (regular windows application) worked fine. Could it be some IIS configuration? Thanks.


Amir

推荐答案

客户端和服务器操作系统平台是什么?你使用什么认证方案?
WHat are the client and server OS platforms? What authentication scheme are you using?


这篇关于WebService的HttpWebResponse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆