0

我们可以从另一个 Web 服务调用一个 Web 服务吗?

我尝试添加网络参考并得到以下错误

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)

请帮忙

4

1 回答 1

0

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

于 2013-04-05T11:08:40.077 回答