I am maintaining a SSIS package that talks to an external SOAP Web Service to get some data to process. The web service call is inside a script task. It calls one method to authenticate, receives a token and session cookie back and then calls the method that returns data, passing in some parameters including the token, and also passes back the session cookie.
Is it possible to use Web Service tasks to achieve this to make maintenance easier? I know I can call the first method in a web service task, but I don't know how to ensure that the session cookie that is returned is retained and passed to the next web service task.