I'm building a REST service in which I use a Set Context Variable "x" with Content-Type "text/xml; charset=utf-8" and valid XML content. Then I proceed to "Apply XSL Transformation" to this variable "x" with a valid XSLT Stylesheet. But I'm getting the error "Message not XML; cannot perform XSL transformation". Why?
Am I doing something wrong or is it not possible to use XSLT if the service is not SOAP?
Is it possible for you to post a screenshot of your policy and also the XML inside the variable X? Are you sure the XML is valid and there is not typos or space left, for example?
Sr. Principal Consultant
+1 (972) 439-4545
Get Outlook<https://aka.ms/qtex0l> for iOS
I ended up rewriting my logic using the Response XPath assertion. It suited my use case better.
Thanks for the quick reply!