I'm running MSSQL 2008 R2.
I want to be able to dynamically change the Web Reference URL in a Script Task when the package is deployed in different environments without having to change it manually and build it again each time.
I've got the Script Task to work with the Test Web Service,
I've added the Wed Reference in the Script Task and set the URL behaviour to "Dynamic".
I've got a Package Variable called "WebServiceURL".
so what do I need to do now in the Script Task for it to use the "WebServiceURL" package variable when calling the Web Service.
I know very little C# .Net.
Thanks in advance.