Skip to main content

Posts

Showing posts from May, 2018

Decoded JAVA Embedding code in SOA 11g

JAVA EMBEDDING ACTIVITY addAuditTrailEntry("Base64decode started");              try {    String EncodedStr = (String) getVariableData("EncodedString");    addAuditTrailEntry("input="+EncodedStr);                oracle.soa.common.util.Base64Decoder decoder = new oracle.soa.common.util.Base64Decoder();                    String decoded = null;                  decoded = decoder.decode(EncodedStr);                addAuditTrailEntry("Base64decode decoded="+decoded);                setVariableData("DecodedString",decoded);                } catch (Exception e) {                  addAuditTrailEntry("Base64decode Exception: "+e.getMessage());                }                addAuditTrailEntry("Base64decode ended"); IMPORT STATEMENT for BPEL 1.0 and 1.1   <bpelx:exec import="java.lang.*"/>   <bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>   <bpelx:exec impor