0
我使用此link在ssis 2008 r2中設置一個腳本任務從這webservice拉一些數據。 ssis中的原始Web任務不起作用(並不是所有的wsdl功能都支持使用此webservice)使用腳本任務從webservice獲取數據與ssis
我的問題是讓腳本任務中的主要功能得到運行。 目前它看起來像這樣
Public Sub Main()
Dim ws As New BaseformService
Dim param As New RequestParameter
ws.Credentials = New System.Net.NetworkCredential("anonymous", "anonymous")
param.corpus = "Autos"
Dts.Variables("Return").Value = ws.execute(param)
Dts.TaskResult = ScriptResults.Success
End Sub
我保存Ping事件,我的變量「結果」的結果。但任務崩潰。我應該提供一個用戶....
任何想法?
Error: 0x1 at Script Task 1: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.Web.Services.Protocols.SoapException: Please enter a username!
不要假設你可以將那個德語翻譯成英語,對不對? – Adrian