Opaque Schema in OIC
Schema ❓ In OIC Schema File (i.e. XML Schema) is used to define the structure of the file which is being used to store data.
Below is an example of an XML schema, or XML schema definition (XSD).
– Advertisement –
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/employeedetails" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="EmployeeRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="Employee" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Emp_Id" type="xs:integer" minOccurs="0" />
<xs:element name="Emp_FirstName" type="xs:string" minOccurs="0" />
<xs:element name="Emp_LastName" type="xs:string" minOccurs="0" />
<xs:element name="Emp_Designation" type="xs:string" minOccurs="0" />
<xs:element name="Emp_DC_Location" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Opaque Schema ❓Now suppose you are not sure about the structure of the File or you simply don’t want to define the structure of the file then you can use the Opaque Schema.
You can use an opaque schema in a stage file action Read File or Write File operation without concern for a schema for the file. The only condition is that whatever is sent to the opaque element in the opaque schema must be base64-encoded data.
Save the below xml as opaqueschema.xsd file and then you can use it in the integration.
<?xml version = '1.0' encoding = 'UTF-8'?>
<schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
xmlns="http://www.w3.org/2001/XMLSchema" >
<element name="opaqueElement" type="base64Binary" />
</schema>
For Your Reference 👇
You may also like
Archives
- November 2024
- October 2024
- May 2024
- June 2023
- December 2022
- October 2022
- September 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- August 2021
- July 2021
- May 2021
- March 2021
- January 2021
- November 2020
- October 2020
- September 2020
- May 2020
- March 2020
- February 2020
- January 2020
- December 2019
- August 2019
- July 2019
- June 2019
- May 2019
- March 2019
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |



Leave a Reply