网络服务电话问题...... [英] Web service call issue ...

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

问题描述



我有一个调用Web服务方法的Web应用程序。如果我在保存Web服务的同一台服务器上部署Web应用程序,一切正常,但是,如果我尝试将其保留在与Web服务不同的另一台服务器上,则会抛出以下异常消息:



System.IO.IOException :无法从传输连接读取数据:连接已关闭。


(Byte []缓冲区,Int32偏移量,Int32大小)



/ span>


System.Web.Services.Protocols中的

.RequestResponseUtils.ReadResponse(WebResponse响应,流媒体流)


< System.Web.Services.Protocols.RequestResponseUtils.CreateResponseExceptionString(WebResponse响应,流媒体流) 中的font face ="Times New Roman">


在System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage消息,WebResponse响应,Stream responseStream,布尔asyncCall)


< System.Web.Services.Protocols中的p align = left> 。 SoapHttpClientProtocol.Invoke(String methodName,Object []参数)



内部异常为空。请帮忙,这个问题对我来说非常关键,需要尽快解决。



谢谢,



JC

解决方案

转到网络服务论坛....

Joe


Hi,

 

I have a web application that calls a web service method. If I deploy the web application on the same server that holds the web service, everything goes fine but, if I try to keep it on another server different than the web service it throws the following exception message:

 

System.IO.IOException: Unable to read data from the transport connection: The connection was closed.

   at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.IO.StreamReader.ReadBuffer()

   at System.IO.StreamReader.ReadToEnd()

   at System.Web.Services.Protocols.RequestResponseUtils.ReadResponse(WebResponse response, Stream stream)

   at System.Web.Services.Protocols.RequestResponseUtils.CreateResponseExceptionString(WebResponse response, Stream stream)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

 

The inner exception is null. Please help, this issue is really critical for me and need to be solved ASAP.

 

Thanks,

 

JC

解决方案

Moving to the web services forum....

Joe


这篇关于网络服务电话问题......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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