首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从其他.asmx web服务调用.asmx web服务

从其他.asmx web服务调用.asmx web服务
EN

Stack Overflow用户
提问于 2013-04-05 19:01:42
回答 1查看 390关注 0票数 0

我们是否可以从另一个web服务调用web服务。

我已经尝试添加web引用,并获得以下错误

代码语言:javascript
复制
System.Configuration.ConfigurationErrorsException was caught
  Message=The current configuration system does not support user-scoped settings.
  Source=System
  BareMessage=The current configuration system does not support user-scoped settings.
  Line=0
  StackTrace:
       at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
       at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
       at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
       at System.Configuration.SettingsBase.get_Item(String propertyName)
       at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
       at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)

请帮帮忙

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-04-05 19:08:40

提取分离类的方法。并从该类访问这些公共方法。因此,这两个服务都可以共享您想要的方法。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15832201

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档