- Install Uipath.web.activties in Manage packages.
Read Text file activity – > .xml file -> properties pane – > Output -> create a variable (ex name : output file) -> pass into -> output To -> (ex name : output file)
Assign activity – > call read text file’s output variable – > replace relevant fields to variables (.replace).
Use http request activity.
End Point – > API KEY URL?.wsdl
Authentication -> Simple HTTP (Valid Username and password)
Properties pane – > Input – > Method – > Post
Properties pane – > Body – > Pass assigned variable (Step 3)
Properties pane – > Options – > Headers – > Name called as headers.
Properties pane – > Options – > Headers – > Value (Give your input)
Properties pane – > Options – > Body-Format – >text/xml.
Properties pane – > Output – > Status Code – > Assign a new variable.
Check the status code using a message box, if status code is 200, post method is success, if it is showing 400 or something, post method is not working properly. We need to check replace part and as well as body part.
Properties pane – > Output – > Result – > Assign a new variable.
Check the Result using a message box, if result respond code is 0, process is working fine.