Thanks Jon,
I am attempting to do it in a different way, by consuming the web service as a service reference, then using the following:
My problem is I am trying to convert it into VB.net and having problems around the creation of the auth object.
Itpam.ItpamServiceSoapClient TfS = new Itpam.ItpamServiceSoapClient(); // Initialize
Itpam.flow UpdateClientDataFlow = new Itpam.flow() // create flow
{
name = "/ProcessName",
action = "Start",
auth = new Itpam.auth()
{
ItemsElementName = new Itpam.ItemsChoiceType[]
{
Itpam.ItemsChoiceType.user,
Itpam.ItemsChoiceType.password
},
Items = new string[]
{
"UserID",
"Password"
}
},
@params = new Itpam.param[]
{
new Itpam.param()
{
name = "Message",
Value = "TestMessage"
}
},
options = new Itpam.options()
{
priority = "1"
}
};
TfS.ExecuteProcess(UpdateClientDataFlow); // execute
Anyone care to translate?