Wednesday 24 June 2020

OIC - Receive Bulk Import ERP Callback using SOAP Adapter

OIC can receive callback from ERP through event subscription as well as direct webservice call from ERP. 

We need to perform following configurations to receive the callback from ERP using SOAP adapter. 
  • Make sure the ERP user used to invoke the bulk operation is exists in IDCS as well. 
  • Upload the SAAS certificates onto OIC to receive the callback using SAML assertions. 
    • Use the following URL to get the certificates. 
      • https://saas_host_name:port/fscmService/ServiceCatalogService?WSDL

Use the following WSDL to receive a callback from ERP Application. Configure a SOAP adapter with following WSDL and select SAML assertion as a security policy. 

Provide this integration URL in ERP Bulk import request message to receive a callback. 

 OnJobCompletion.wsdl

xmlns:tns="http://oracle.com/sca/soapservice/SOACoreServices/ERPCallbackServiceService/ERPCallbackService" xmlns:inp1="http://xmlns.oracle.com/scheduler" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:types>
      <xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://xmlns.oracle.com/scheduler" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <xsd:element name="onJobCompletion">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element type="xsd:int" name="requestId"/>
                  <xsd:element type="xsd:string" name="state"/>
                  <xsd:element name="resultMessage" type="xsd:string"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
      </xsd:schema>
   </wsdl:types>
   <wsdl:message name="onJobCompletionRequestMessage">
      <wsdl:part name="ERPCallbackInput_pn" element="inp1:onJobCompletion"/>
   </wsdl:message>
   <wsdl:portType name="onJobCompletion_ptt">
      <wsdl:operation name="onJobCompletion">
         <wsdl:input message="tns:onJobCompletionRequestMessage"/>
      </wsdl:operation>
   </wsdl:portType>
</wsdl:definitions>

No comments:

Post a Comment

IDCS - Identity Federation with Azure and Google (SAML IDP & Social IDP)

The setup involves Identity Cloud Service (IDCS) acting as the central identity provider, facilitating seamless authentication and authoriza...