I am consuming webservice which is giving response in SOAP with Attachment.
However using UiPath Http Request acitivity downloaded files are corrupted (excluding pdfs).
Content-Type: text/xml; charset=utf-8
I found solution here: c# - Get Attachment from SOAP Response and save file - Stack Overflow
However when i try to implement task class inside the invoke code acitivity it returns multiple errors that seem to be out of blue (missing ; or } etc.)
The question is - is usage of task class inside invoke code possible in UiPath or is there maybe any other way to get correct file out of this kind of response?