Hello, I can't seem to find anywhere straight forward examples on how to call (invoke) a web method from script task.
Here is what I have: 1. Created scrip task 2. Added web reference to my service. lets call it ABC_SERVICE 3. Added using System.Xml; using System.Web.Services; using System.Web.Services.Description; using System.Web.Services.Discovery; 4. Loaded my variables into script var enrollId= dts.variables["abc"].value
var legacyId= dts.variables["def"].value 5. NOW, how do I actually call to execute method of my service? my method name is UpdateMyId(Guid enrollId, int legacyId);
Here is a stupid question.. i never did this and i am not sure where or how to "create a Proxy Class using WSDL from .NET command prompt" Where exactly is .net comand prompt?
Ok, So I created the proxy class and added .cs and .config files to script. Now I am a bit fuzzy on the syntax to actually invoke the service and create a new webservice using c#