Saturday, 17 December 2022

SOA - Capture Authentication Details

Add the following property in composite.xml file  

 <service name="InvAdjOnline_ep" ui:wsdlLocation="XxScmInvProcessMaterialTransaction_01.wsdl">

    <interface.wsdl interface="http://www.xxxxx.xx/erp/inv/wsdl#wsdl.interface(XxScmInvProcessMaterialTransaction)"/>

    <binding.ws port="http://www.xxxx.xx/erp/inv/wsdl#wsdl.endpoint(InvAdjOnline_ep/XxScmInvProcessMaterialTransaction_pt)">

    <property name="oracle.webservices.http.headers">Authorization</property>

    </binding.ws>

  </service>


Use the following property in the receive activity to capture the authentication details. 

<bpelx:fromProperties>

          <bpelx:fromProperty name="Authorization" variable="authTokenVar"/>

        </bpelx:fromProperties>

No comments:

Post a Comment

Oracle - OCI - Exadata Database

Exadata Database is a scalable, private database server that is completely isolated from other tenants. It can be used to run all database ...