Web服务功能调用时出现此错误。 [英] This Error Occur When A Web Service Funtion Call.

查看:92
本文介绍了Web服务功能调用时出现此错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

---------------------------

错误

--- ------------------------

远程服务器返回错误:(404)Not Found。



在System.Net.HttpWebRequest.GetResponse()



在System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel。 HttpChannelRequest.WaitForReply(TimeSpan超时)

---------------------------

好的

---------------------------

---------------------------
Error
---------------------------
The remote server returned an error: (404) Not Found.

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
---------------------------
OK
---------------------------

推荐答案

你可以尝试在配置文件中改变

< security mode => 到TransportWithMessageCredential



或者它可能是特定主机帐户的IIS问题。在这种情况下,它不支持在Web应用程序中调用临时URL。那么,如果是这种情况,你可以联系你的支持团队
Can u try changing
<security mode=""> to TransportWithMessageCredential in config file

Or it may be an IIS issue with particular hosting account. In that case, it won't support to call temporary url within web application. SO, u can contact ur support team, if this is the case


这篇关于Web服务功能调用时出现此错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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