Unable To Process Base64 Encoded Extract Data With EWPS 12.7.1.3
(Doc ID 3007741.1)
Last updated on FEBRUARY 29, 2024
Applies to:
Oracle Documaker - Version 12.7 and laterInformation in this document applies to any platform.
Symptoms
Using EWPS 12.7.1.3 (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(XmlObjectBase.java:1657)
at com.docucorp.ewps.providers.EWPSAbstractProvider.unmarshall(EWPSAbstractProvider.java:386)
at com.docucorp.ewps.providers.ids.IDSEWPSProvider.runOperation(IDSEWPSProvider.java:137)
at com.docucorp.ewps.service.EWPSDocumentServicesSkeleton.doCallAPI(EWPSDocumentServicesSkeleton.java:482)
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.
Cause
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
Symptoms |
Cause |
Solution |
References |