LoginService.LoginServiceClient loginClient = new LoginService.LoginServiceClient("WSHttpBinding_ILoginService");
我收到以下错误:
Could not find endpoint element with name
'WSHttpBinding_ILoginService' and contract
'LoginService.ILoginService' 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 name
could be found in the client element.
我已经能够让供应商的代码像 visual studio 中的控制台应用程序一样工作,但是当我试图让它作为脚本组件工作时,它就会分崩离析。谢谢!
最佳答案
如何在 SSIS 中使用 Web 服务
请完成以下步骤:
Web 服务可以简单地定义为托管在 Web 上的一项功能。它是一项独立于平台的技术,可以使用 xml 消息加以利用。