我正在尝试使用SSIS中的Web服务任务来调用Web服务。在HTTP连接管理器中,我提供了服务器URL,但尚未定义任何代理服务器。我下载了WSDL文件。然后在“输入”选项卡中选择了“服务和方法”。该方法需要我传递的字符串参数。我收到以下错误。我什至尝试将保护级别更改为DontSaveSensitive,但仍然收到此错误。请帮忙
Error: 0xC002F304 at Web Service Task, Web Service Task: An error
occurred with the following error message:
"Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException:
Could not execute the Web method. The error is: Could not load file or
assembly 'Microsoft.SqlServer.WebServiceTask, Version=14.100.0.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its
dependencies. The system cannot find the file specified.at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
最佳答案
请执行下列操作:-