cancel
Showing results for 
Search instead for 
Did you mean: 

CDATA In SOAP Execute

Deepak
New Contributor II

How to use CDATA information in the SOAP Execute snap. When I test in SOAPUI tool, it accepts CDATA and the execution is a success. In SL, I am getting the below error:

“error”:
“Server was unable to process request. —> Error in xml: Data at the root level is invalid. Line 1, position 2.”

I have seen an earlier post on the same topic gone unanswered. Hoping for a response here 🙂
How do we make it work.

1 REPLY 1

mbowen
Employee
Employee

The SOAP Execute snap offers a debug view which displays the raw payload of the SOAP request. This is helpful to debug these kinds of problems. It is documented here:

https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1437963/SOAP+Execute#SOAPExecute-Usingthed...

Sharing an example of the SOAP request with CDATA that works in SOAP-UI would be helpful too (remove any sensitive data before posting).

Escaping and transformations can sometimes be a bit tricky with our XML snaps, but there are workarounds oftentimes. But maybe let’s start with the above. 🙂