PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Base64 Decode is truncating result

edited Mar 9, 2020 5:01AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered

Hi,

I have a message encoded and sent over to 3rd party and third party will encode the response and send that to me. I am supposed to decode it and see the result. I am using Base64 Encoding/Decoding. The encoding is working very fine. But while decoding, I can see only part of the first line, then rest is truncated. Do you know if I am missing anything?

  below is the encoding and decoding peoplecode I have.

Local Crypt &cryEncode, &cryDecode;

Local string &encodeResult, &decodeResult;

&cryEncode = CreateObject("Crypt");

&cryEncode.Open("BASE64_ENCRYPT");

&cryEncode.UpdateData(&xml.GenXmlString());

&encodeResult = &cryEncode.Result;

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center