0

我在我的 Web 服务中添加了http://ws.hipcricket.com/api/EndUser.svc 作为服务参考。我可以使用 IDE 中的方法,但是在 IIS 中托管相同的方法时出现以下错误:

错误一:

无法连接到(请参考上面的网址)。TCP错误码10060:连接尝试失败,因为连接方在一段时间后没有正确响应,或者连接失败,因为连接的主机没有响应69.20.116.221:80。

错误2:

没有可以接受消息的端点侦听(请参阅上面的 url)。这通常是由不正确的地址或 SOAP 操作引起的。有关更多详细信息,请参阅内部异常(如果存在)

4

1 回答 1

0

Maybe you have a firewall blocking communication from your webserver? When developing on your local machine communications through the proxy may most likely be using your credentials, while the user that the application pool that your application is running under on your IIS server most probably does not have the correct rights.

于 2012-07-18T09:47:10.973 回答