How to send CDATA inside your SOAP message payload
Join the DZone community and get the full member experience.Join For Free
If you need to send a SOAP message payload ever and if it resulted something like this.
Because by default, a StAX parser must be in non coalescing mode (It
overrides the default settings mandated by the StAX specification) and
as a side effect of that parser coaelsce CDATA sections.
 You need to add the XMLInputFactory.properties file with the following entry to CARBON_HOME/ (root) folder.
Published at DZone with permission of Shelan Perera, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Java String Templates Today
Managing Data Residency, the Demo
Does the OCP Exam Still Make Sense?
Building a Java Payment App With Marqeta