Friday, June 13, 2025

OIC integration failing at connection level with message invalid security



๐Ÿ” Fixing the "Invalid Security" Error in Oracle Integration Cloud (OIC)

Published on: July 26, 2025
Author: [Aks]


๐Ÿšจ Introduction: Struggling With "Invalid Security" in OIC?

Oracle Integration Cloud (OIC) is powerful—but nothing derails your integration flows faster than the dreaded:

⚠️ “InvalidSecurity: Error in processing the WS-Security security header”

This error is frustrating, vague, and often pops up during connection setup or runtime. But don’t worry—this post walks you through why it happens and how to fix it for good.


๐Ÿง  What Does "Invalid Security" Actually Mean?

This error generally signals a security mismatch between OIC and the external service you're connecting to. Common culprits include:

  • ❌ Incorrect authentication (username/password or OAuth tokens)

  • ❌ Mismatched security policies

  • ❌ Missing or outdated certificates

  • ❌ Connectivity agent or network/firewall issues


✅ The FIX That Worked: Refreshing Connection Metadata

After extensive troubleshooting, here’s what fixed the problem:

๐Ÿ”ง Steps:

  1. Go to Connections in your OIC dashboard.

  2. Find the failing connection.

  3. Click on the three dots (⋮) on the right side.

  4. Choose "Refresh Metadata".

๐Ÿงน Refreshing metadata ensures OIC re-reads the target system’s latest security headers, WSDL, and policy information.


๐Ÿงช Root Causes and How to Solve Them

Here’s a quick reference guide on what might be going wrong and how to fix it:

⚠️ Cause ๐Ÿ› ️ How to Fix It
Expired or invalid credentials Double-check username/password or OAuth tokens. Avoid Basic Auth if MFA is enabled.
Security policy mismatch Make sure OIC’s security policy matches what the target system expects.
Missing certificates Upload needed SSL or intermediate certs (like msft.cer) to OIC’s trust store.
Connectivity agent config Validate InstallerProfile.cfg and host resolution (/etc/hosts). Restart the agent.
Database adapter issues Apply necessary DB patches (e.g., Patch 26482376) and confirm wallet configuration.
Network/firewall issues Ensure no firewall or VCN rule is blocking your target URL.

๐Ÿ”Ž Step-by-Step Troubleshooting Guide

Want to go deeper? Follow this order:

  1. ✅ Verify credentials

  2. ๐Ÿ” Match security policy

  3. ๐Ÿ“œ Import certificates

  4. ๐Ÿ”Œ Check agent config

  5. ๐Ÿงฉ Resolve database issues

  6. ๐ŸŒ Test endpoint accessibility

  7. ๐Ÿ“ Enable and review trace logs


๐Ÿ›ก️ Best Practices to Avoid This Error in the Future

  • ๐Ÿ”„ Rotate credentials and update certs regularly

  • ๐Ÿ” Use OAuth over Basic Auth where possible

  • ๐Ÿ” Monitor error logs and set up alerts in the OIC console

  • ๐Ÿงช Test in non-production before deployment

  • ๐Ÿ“ฆ Apply Oracle patches and keep adapters up-to-date


๐Ÿ“˜ References & Resources


✅ Final Words

The "Invalid Security" error is solvable—and in many cases, it’s just outdated metadata causing the issue. Refresh the connection, validate your policies, and follow the checklist above for a smooth integration experience.


Tuesday, June 10, 2025

OIC interview questions and answers

  • Great! Based on your detailed input, here’s a visually appealing and structured blog post titled “Oracle Integration Cloud (OIC) – Interview Questions & Answers” that you can directly copy into your Blogspot editor or any other blogging platform. It includes clean formatting, icons, and content blocks to enhance readability and engagement.


    ๐ŸŒ Oracle Integration Cloud (OIC) – Interview Questions & Answers

    ๐Ÿ—“ Updated: March 11, 2025
    ๐Ÿ‘จ‍๐Ÿ’ผ Author: [Your Name or Company Name]


    ๐Ÿ’ก What is Oracle Integration Cloud (OIC)?

    Oracle Integration Cloud (OIC) is a powerful Platform as a Service (PaaS) that helps organizations connect applications, automate processes, and streamline data integration across cloud and on-premise systems.

    ๐Ÿงฑ Key OIC Components:

    • ๐Ÿ”„ Integration Cloud Service (ICS): Build and run integrations

    • ๐Ÿงฐ Visual Builder Cloud Service (VBCS): Low-code app development

    • ๐Ÿ” Process Cloud Service (PCS): Automate workflows and business processes


    ๐Ÿ” Common Integration Patterns in OIC

    Pattern Description Example
    Scheduled Orchestration Triggers integration on a timed schedule ๐Ÿ•“ Run every 4 hours to import journal files via FTP
    App-Driven Orchestration Starts via API or external event ๐Ÿ›’ REST endpoint receives order, pushes to ERP
    Basic Routing Direct data flow with simple mapping ๐Ÿ‘ฅ Send HCM employee data to Fusion Apps
    File Transfer Moves files across systems ๐Ÿ’ฐ Upload payment files to bank FTP
    Publish to OIC Sends messages to internal OIC topics ๐Ÿ“ฃ Broadcast a payload to subscribers
    Subscribe to OIC Listens to topic messages ๐Ÿ“ฅ Inserts data into a DB when message arrives

    ๐Ÿ” Key Differences: Basic Routing vs App-Driven Orchestration

    Feature Basic Routing App-Driven Orchestration
    Use Case Simple 1:1 integration Complex logic with conditions
    Components Single mapping Orchestration with loops, switches
    Example Employee sync Order processing workflow

    ๐Ÿงฉ Essential OIC Components Explained

    ๐Ÿ”Œ Adapters:

    • File Adapter – Works via agent, supports files up to 10 MB.

    • FTP Adapter – Directly connects to FTP; supports 1 GB+ files.

    • Database Adapters (ATP/DBaaS) – Uses wallets/agents for secure connections.

    ๐ŸŒ‰ Connectivity Agent:

    • Secure bridge between OIC and on-prem systems (HTTPS, port 443).

    • Limits: 10 MB per payload (can segment large files).

    • Install via: java -jar connectivityagent.jar (after setting InstallerProfile.cfg)

    ๐Ÿงพ ERP Cloud Adapter:

    • Requires roles: Integration Specialist, SOAOperator.

    • Configure CSF Key for callback support.

    • Use metadata refresh if catalog sync lags (~30 mins wait time).


    ๐Ÿ”ฌ When to Use ERP Adapter vs. Generic Adapters

    Use ERP Cloud Adapter Use SOAP/REST Adapters
    ✔️ Pre-built catalog/API ✔️ Custom or unsupported APIs
    ✔️ Built-in callback support ❗ Manual XSD/JSON import required

    ๐Ÿš€ Advanced Features and Patterns

    ๐Ÿ“ฅ FBDI Integrations

    • Use for bulk file uploads into Fusion ERP

    • Supports callback status monitoring

    ๐Ÿงฎ Global Variables & Data Stitching

    • Define reusable variables (primitive or complex types)

    • Use ASSIGN, APPEND, REMOVE in Stitch for payload manipulation

    ๐Ÿงฏ Error Handling

    • Try-Catch per scope + Global fault handler

    • Use Throw for custom faults, Rethrow to escalate

    • Use “Parking Lot Pattern” for async error resubmission

    ๐Ÿ“Š Logging & Monitoring

    • Use short-term OIC logger or persist logs in DB/VBCS

    • Implement “heartbeat” checks for external endpoints


    ๐Ÿงช Versioning, CI/CD & Feature Flags

    • Semantic versioning (v1.0.2, v2.3.1, etc.)

    • Automate deployments via OIC REST APIs

    • Integrate with GitHub/Jenkins for CI/CD

    • Feature flags progress from Internal → Controlled → GA (log SR for early access)


    ๐Ÿ” Security & Certificates

    • OIC integrates with IDCS SSO

    • Use Service Accounts for system-to-system calls (bypass SSO)

    • Import 3rd-party SSL certificates via:
      Settings → Certificates → Import


    ๐Ÿ“ฆ Lookups & Packages

    • Lookups = Domain constants/value maps

    • Packages (.par) = Group and export integrations across environments


    ๐ŸŽฏ Interview Tips & Focus Areas

    ๐ŸŽค Topics to Highlight:

    • Real-world use cases: FTP → ERP file imports, retry patterns

    • Error handling strategies (sync vs async)

    • SOAP vs REST, XSDs, and when to use each

    • Queues vs Topics in Publish/Subscribe

    • REST verbs (GET, POST, PUT, DELETE)

    • CI/CD implementation with OIC APIs

    ๐Ÿง  Troubleshooting Knowledge:

    • Metadata refresh for stale WSDLs

    • Dealing with agent connection failures

    • Handling locked or suspended integrations


    ๐Ÿ“š Final Thoughts

    Oracle Integration Cloud (OIC) continues to be a cornerstone of enterprise cloud connectivity, and mastering it can unlock powerful automation and data orchestration capabilities. Preparing for an interview? Use this guide to solidify your fundamentals and demonstrate real-world knowledge with confidence.



Oracle Fusion Forms Personalization using Sandbox

๐Ÿงญ Introduction Oracle Fusion Cloud supports no-code UI personalization using Sandbox and Structure tools. Known as Form Personalization ...