Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Inbound - get a file into a xml (base64)

Hi experts,

I am trying get a zip file in base64 format that is into of this xml.

<?xml version="1.0" encoding="UTF-8" ?>

- <ns0:mt_csa_source xmlns:ns0="urn:empresa.com:OU030:csa-fi">

- <rset>

- <row>

<FIELD>UEsDBAoAAAAAANZzOUJ1Y8G+GwAAABsAAAAKAAAAYXR0YWNoLnR4dEluZm9ybWF6aW9uZQ0KSW5mb3JtYXppb25lMlBLAQI/AAoAAAAAANZzOUJ1Y8G+GwAAABsAAAAKACQAAAAAAAAAIAAAAAAAAABhdHRhY2gudHh0CgAgAAAAAAABABgAwHajjgj7zQHAdqOOCPvNARiqbMkQ+s0BUEsFBgAAAAABAAEAXAAAAEMAAAAAAA==</FIELD>

</row>

</rset>

</ns0:mt_csa_source>

I can get the content and I decoded it and I put into a byte array, but the logs show me this error:

Adapter Framework caught exception: Exception in XML Parser (format problem?):'org.xml.sax.SAXParseException: Character reference "&#3" is an invalid XML character.'

I tryed chand the xml version for 1.1, but this show me another error

Someone can help me?

Thanks

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question