Cannot replicate working SoapUI call in UiPath HTTP Activity

Hi everyone,

So I have a SoapUI project that executes a POST call that I’m trying to replicate in UiPath using the HTTP activity.

The SoapUI POST call looks like this:

Endpoint:

Parameters:
image

Media Type: application/x-www-form-urlencoded, and in the body section I’m passing a token variable that is obtained in a previous API call:
image

Headers:
image

The cookie header is also obtained in a previous API call, so consider the token and cookie values our variables.

Expected outcome should be status code 200 along with the response header “Set-Cookie”, like so:
image

So, in UiPath I have successfully replicated the API calls needed to obtain the token and cookie values and I am now trying to replicate the POST call I have presented, but so far unsuccessfully.

UiPath configs:

Endpoint:
image

Parameters:

Media Type:
image

Body:
image

Headers:

When executed, the activity just returns the status code 0.

If I copy the cookie and token values that are passed to UiPath and paste them in SoapUI, it will run correctly and that tells me the problem must be a UiPath configuration, but at this point I’m not sure what to change.

Any thoughts would be greatly appreciated.

Thank you!

1 Like

Hey @andre.f.pires

Do you have a valid wsdl file or link for the service ?

Thanks
#nK