Friday, August 11, 2023

OIC - add custom HTTP headers invoking to external SOAP service

Usecase: Here, we will show you how to send or configure a custom HTTP header while invoking a External SOAP service.

The following highlighted Action header need to pass:

<s:Envelope xmlns:s="" xmlns:a=">


<a:Action s:mustUnderstand="1"></a:Action>

<a:To s:mustUnderstand="1">http://www.servivehost/services/testdataservice</a:To>






Implementation Steps:

Step1: Create header schema for the custom SOAP headers as below:

<xsd:schema elementFormDefault="qualified"
        <xsd:element name="Action" type="xsd:string"/>

Step2: save this as ActionHeader.xsd and checked the custom header option for request and upload the file to invoke configure adapter.

Step3: Map the Header value in the mapper.

No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...