Today I was working to write XML file where the FTP adapter was assigned an opaque schema. Due to the opaque schema, I used encodebase64() to write the XML contents to the FTP directory but I observed that the xml tags were strippped off in the payload.
This is a known issue. We have to do the following steps to perserve the XML tags:
- Use ora:getContentAsString() xpath function to assign the XML contents as string to a local variable.
- Use the encodebase64() to encode the variable response and map to opaqueElement.
Screenshots:
No comments:
Post a Comment