Web服务请求超时? [英] Web Service request timeout?

查看:118
本文介绍了Web服务请求超时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的asp项目中调用了一个Web服务,它给了我'Request time out'错误。当我使用SoapUI调用它时,我得到了结果。在asp项目之前,Web服务工作正常。有没有人知道为什么它让我在asp项目中出现错误
,即使Web服务工作正常?

I am calling a web service in my asp project which is giving me 'Request time out' error. When i invoke it using SoapUI, i get the result back. The web service was working fine before in the asp project. Does anyone know why it is giving me time out error in the asp project even though when web service is working all good?

更新:这很奇怪,如果我在调试模式下运行项目,我收到"请求超时"错误。但是,如果在调试模式下运行,我会得到结果。

谢谢。

 

Sanjeev

推荐答案

Are您100%确定调试会话中的webservice的URL与您在SOAPUI中使用的URL相同吗?在你调用webservice的行上点一个断点 - 并检查service.Uri属性。

Are you 100% sure that the URL for the webservice in your debug session is the same as the one you use in SOAPUI? Hit a break point on the line where you invoke the webservice - and check the service.Uri property.

我不确定你是否说它在发布模式下工作?如果是这样,请检查您是否对任何模式没有任何特定设置(例如Web.debug.config v / s Web.release.config)。

I'm not quite sure if your're saying that it works in release mode? If so, check that you don't have any specific settings for any mode (e.g. Web.debug.config v/s Web.release.config).

-

Werner

--
Werner


这篇关于Web服务请求超时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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