494 total views, 0 views today

How to encode and decode base64Binary datatype in Oracle BPEL

 

Many times, we receive the binary type of value or we need to convert into Binary type of value. One example is Read or write a file. When we receive a text file, the payload of the File is the Opaque type which is a base64Ninary data type. We need to convert this to an appropriate format before using it. A similar solution is applicable for writing a file. In this post, I have explained the two points

 

Encode base64Binary  Example=> Converts a base64Binary value into String

 

Decode base64Binary Example=> Converts a String into base64Binary

 

Oracle BPEL Encode base64Binary Example: –

 

The following Java code converts a base64Binary value into String type. We can use this code in Java Embedded activity in the Oracle BPEL process. Don’t need to import any Java class in the BPEL process. A use case is found in the following example

 

How to Read a File using Oracle BPEL Adapter

 

 

 

 

Oracle BPEL Decode base64Binary  Example: –

 

The following Java code converts a String into base64Binary value. We can use this code in Java Embedded activity in the Oracle BPEL process. Don’t need to import any Java class in the BPEL process. A use case is found in the following example

 

How to Write a File using Oracle BPEL process

 

 

 

govindan How to encode and decode base64Binary datatype in Oracle BPEL
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply šŸ™‚
govindan How to encode and decode base64Binary datatype in Oracle BPEL
Connect me
By | 2017-12-11T01:40:30+00:00 December 11th, 2017|Categories: BPEL|Tags: , , , |Comments Off on How to encode and decode base64Binary datatype in Oracle BPEL
Like us on Facebook.
Connect!