My Oracle Support Banner

Unable To Process Base64 Encoded Extract Data With EWPS (Doc ID 3007741.1)

Last updated on FEBRUARY 29, 2024

Applies to:

Oracle Documaker - Version 12.7 and later
Information in this document applies to any platform.


Using EWPS (from October CPU) on OEL8 / Tomcat9 / JRE17. When a doCallAPIRequest is issued for the RPD request type (which expects a Base64 encoded extract file), the request fails to parse the base-64 encoded extract data and EWPS throws the following error:
2024-02-16 15:23:22,618-[http-nio-8080-exec-8]-org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get a Java byte[] type from a Schema base64Binary type
at org.apache.xmlbeans.impl.values.XmlObjectBase.getByteArrayValue(
at com.docucorp.ewps.providers.EWPSAbstractProvider.unmarshall(
at com.docucorp.ewps.providers.ids.IDSEWPSProvider.runOperation(
at com.docucorp.ewps.service.EWPSDocumentServicesSkeleton.doCallAPI(

 Note that if using a request method that doesn't include base-64 encoded data, e.g. referencing a file on the local file system, this will process without error so the problem seems to be tied directly to base-64 decoding.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.