Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Pass XML Data (Base64) as a parameter in OIC — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Pass XML Data (Base64) as a parameter in OIC

Accepted answer
16
Views
8
Comments
edited Jan 23, 2019 11:52PM in Integration 8 comments

Summary

Pass XML Data (Base64) as a parameter in OIC

Content

Hi,

I have a below requirement ->

1. Webservice allows Base64 as input...

2. I need to form an XML and convert to base 64 then pass it to parameter

But I have challenges, in forming the XML content...I am using variables to store the XML content like

str1 =<dataModel xmlns="http://xmlns.oracle.com/oxp/xmlp&quot; version="2.0" xmlns:xdm="http://xmlns.oracle.com/oxp/xmlp&quot; xmlns:xsd="http://wwww.w3.org/2001/XMLSchema&quot; defaultDataSourceRef="demo">
   <description>'

str2 = '<description>
      <![CDATA[undefined]]>
   </description>'

str3 = <<input param of orchestration>>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!