使用tempuri会导致问题吗? [英] Can using tempuri cause problems?

查看:80
本文介绍了使用tempuri会导致问题吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过Web服务连接到公司Web服务器的应用程序。 Web服务使用默认的tempuri命名空间。突然之间,当应用程序在运行好几个小时后尝试向Web服务发送消息时,应用程序将开始抛出错误。这可能与tempuri命名空间有关。似乎我的项目的webreference将是所有使用的。错误如下:



无法连接到远程服务器:at位于ClientSendService.QueueHandler的ClientSendService.ClientSendWebService.Service.Send(String strPasswordXml,String strMsg)的System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName,Object [] parameters)中的System.Net.HttpWebRequest.GetRequestStream()。 SendMessage(消息消息)

解决方案



< p align = left>我相信它不能。


Web服务命名空间只是和标识符,它可以帮助客户端应用程序区分Web服务与Web上的其他服务。它可以指向不存在的位置。



I've got an application that connects to a corporate web server via a web service. The web services uses the default tempuri namespace. All of the sudden, the application will start throwing errors when trying to send messages to the web service when it had been running fine for hours. Could this have to do with the tempuri namespace. It seems like my project's webreference would be all that's used. The error is below:

 

 

Unable to connect to the remote server:   at System.Net.HttpWebRequest.GetRequestStream()    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)    at ClientSendService.ClientSendWebService.Service.Send(String strPasswordXml, String strMsg)    at ClientSendService.QueueHandler.SendMessage(Message message)

解决方案

Hi,

 

I believe it can't.

Web Service namespace is just and identifier which helps client applications to distinguish Web Service from other services on the Web. It can event point to location that does not exist.

 


这篇关于使用tempuri会导致问题吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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