My Oracle Support Banner

Inbound Web Service Messages with Attachment Larger than 50K Throws: "SBL-GEN-04031: Internal: Error occurred during base64 decoding". (Doc ID 1957702.1)

Last updated on APRIL 30, 2018

Applies to:

Siebel CRM - Version 8.1.1.11.10 [IP2013] and later
Information in this document applies to any platform.

Symptoms

Customer is sending web service messages with attachments encoded in base64 to Siebel. The external application encode the attachment in Base64 and is also appending the " " escape sequence to indicate LineFeed control character.

Ex:
VEVTVFRFU1RURVNUVEVTVFRFU1RURVNUVEVTVFRFU1RURVNUVEVTVFRFU1RURVNUVEVTVFRFU1RU&#
13;
RVNUVEVTVFRFU1RURVNUVEVTVFRFU1RURVNUVEVTVFRFU1RURVNUVEVTVFRFU1RURVNUVEVTVFRFU1
RU


When the attachment is lower than 50k the EAI XML Converter is able to parse the message without issues. But when the message is greater than 50k the parse fails and it is possible to check in the logs the following log trace

EAIFileAttachments EAIFileAttachmentDebug 5 0000000254880ff0:0 2014-12-10 08:32:58 Getting file reference manager Session Global by key 'FileReferenceManager'
EAIFileAttachments EAIFileAttachmentDetail 4 0000000254880ff0:0 2014-12-10 08:32:58 New large file reference is created - 'C:\Siebel\8.1.1.11.0\ses\siebsrvr\temp\1-3Y0_0.tmp'.
EAIFileAttachments EAIFileAttachmentDebug 5 0000000254880ff0:0 2014-12-10 08:32:58 New large file reference is registered - 'C:\Siebel\8.1.1.11.0\ses\siebsrvr\temp\1-3Y0_0.tmp'.
ObjMgrBusServiceLog Error 1 0000000254880ff0:0 2014-12-10 08:32:58 (filerefutil.cpp (1081)) SBL-GEN-04031: Internal: Error occurred during base64 decoding.



This issue is caused only when the EAI XML Converter BS uses the "temp" sub-folder to store temporary XML file references when the document size exceeds the 50Kb size.

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


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