Let us see what needs to be done when the request is receved as a Strng in XML format. The string needs to be mapped to an XML element to simplify the processing of payload
- Use oraext:parseEscapedXML() to read the XML to an Element. If you encounter any problem in this please check the namespace as suggested here.
- getContentAsString() converts the XML to string but escapes the '<' but leaves the '>' intact.
- oraext:get-content-as-string() converts to XML but escapes both '<' and '>'. In em console, view the raw xml. If you view in the HTML it looks fine.
- Use Java Embedding(this is covered in a separate blog)
The information shared by the author is quite beneficial.I would appreciate if it could be more elaborate.Otherwise its a good article.
ReplyDeletewhat is sap ecc 6.0