all groups > sql server dts > february 2005 >
You're in the

sql server dts

group:

Web service credentials from DTS object.


Web service credentials from DTS object. Backslider
2/14/2005 6:45:43 AM
sql server dts:
I created a custom DTS object that does its work by calling a
webservice. When you create the object in DTS, it lets you set the
user/pw you want to use to authenticate to the webservice. The problem
I am having is that once I authenticate to the webservice within DTS,
it always uses the same authentication when contacting the service.

So, for example, I drop a new instance of my object into a package. It
connects to the webservice as me. I set up the parameters of the task,
including telling it to connect as User="test". If I run it, my code
creates a new web service proxy object, sets the credentials correctly
on the object, but the webservice still gets called as me.

If I exit out of SQL Server and go back in, and run it, it correctly
connects as User="test". But then if I try to edit the task, and give
a new user and password, it still always tries to connect as "test".

It seems whoever I initially connect to the webservice as, that is the
information that DTS will use for the entire session.

Is there any way to do what I want to do?

thanks
RE: Web service credentials from DTS object. Syed
4/19/2005 2:10:03 PM
I was actually looking at a white paper that explained the first part -
retrieving data from a web service using DTS. Can you point me to any
resources that explain how to do this?


[quoted text, click to view]
AddThis Social Bookmark Button