There are many new features in Oracle Fusion Middleware 12C. One of the existing feature is out of the box functionality of DVM integration with OSB which was missing with OSB before 12C releases.
In this blog, I will explain how to use DVM in OSB 12C. Its implementation is different from the way we implement in BPEL.
- Create a OSB project and inside it create one proxy service as shown below:-
2. Right Click on DVMDemoProject and Select New ->Domain Value Map
3. Give the DVM name, Column name and its values as below:-
In this example, we are going to use two systems CRM & Billing in DVM . We will pass the value of Column CRM as ‘India’ and Corresponding value of Billing i.e ‘IN’ will be fetched from DVM.
4. Incoming req XML to be pass is as below:-
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header></soap:Header>
<soap:Body>
<Country>
<name>India</name>
</Country>
</soap:Body>
</soap:Envelope>
5. Add a assign activity in OSB Pipeline and give expression for DVM Lookup as below:-
NOTE:- It is different from BPEL in way that we add .dvm extension in lookup function but we don’t need to add that in OSB DVM Implementation.
6. Deploy the project on server and test it as below:-
No comments:
Post a Comment