读书人

调用远道的webservice报错

发布时间: 2013-01-15 10:39:34 作者: rapoo

调用远程的webservice报错
我的webservice是在远程服务器上的,在本地引用这个ws后,运行报错:

Could not find default endpoint element that references contract 'ServiceReference1.UrlServiceNewSoap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
是不是要在本地配置下呢?
[解决办法]
本地不需要配置什么,这个WSDL貌似有问题啊。
[解决办法]
本地没问题吗?
[解决办法]
帖下config中 <system.serviceModel>中的<client>部分。

读书人网 >Web Service

热点推荐