AnsweredAssumed Answered

Trouble with SOAP call from 3.1 to 4.1 authentication.

Question asked by rob.mccoy on Sep 26, 2013
Latest reply on Oct 9, 2013 by Tom_Kouhsari
I'm trying to build a flow that temporarily passes processes from our 3.1 environment over to our 4.1 environment during a transition period. I had hoped to use the ExecuteProcess method to start some processes and pass some parameters, but I'm experiencing an authentication error.

I'm about to authenticate from SOAPui, so I know the account, name, and password are correct and fully functional.

But the PAM 3.1 interface for constructing a SOAP call with authentication is blowing my mind.

I tried using the macro expansion method, but it didn't seem to work at all.

So I switched to expression and built my expression using dataset variables, like this...

[font=Courier New]Process.p_soapdata='<executeProcess xmlns="http://www.ca.com/itpam">';
Process.p_soapdata+='<flow>';
Process.p_soapdata+='<name>/flowlocation/myFlowName</name>';
Process.p_soapdata+='<action>Start</action>';
Process.p_soapdata+='<auth>';
// Process.p_soapdata+='<user>'+Process.p_uid+'</user>';
// Process.p_soapdata+='<password>'+Process.p_pw+'</password>';
Process.p_soapdata+='</auth>';
Process.p_soapdata+='<params>';
Process.p_soapdata+='<param name="FAKEDPHONY">Kendall the Knight</param>';
Process.p_soapdata+='</params>';
Process.p_soapdata+='</flow>';
Process.p_soapdata+='</executeProcess>';[font]


No matter what I try, I just get this response from the soap call.
[color=#ff0000]SOAP-ENV:Client The specified user ID, password, or token is invalid. [color]

I'm certain that I'm poking the interface the wrong way, just not sticking stuff in the right places. Any guidance is appreciated.

Outcomes