Sunday, 19 May 2013

DVM Files In Oracle SOA BPEL Process

DVM (Domain Value Map) : It is a transformation file which can be use to map a value from one domain to another domain for example, you need to  transfer the value of Gender like Male,Female and Unknown to 'M', 'N' and 'U' respectively.

Follow the below steps to Configure a DVM file on your SOA project.
  • Create a BPEL process which takes a input parameter as Male, Female or Unknown. It will transfer the input to corresponding domain value from DVM file and gives the output.
  • Create a DVM file as given below

  • Give the name of the DVM file and column names.

  • It will display the DVM file as given values. Here you can add more domain values and also you can edit one existed value. After modification save the domain file.




  • Drag a transformation activity which transfers the input data to output using DVM file. On the component pallet choose the Advanced tab and select DVM Functions > lookupValue
 
  • Set the parameters of the DVM lookupValue function.

  • Now save the project deploy and Test. The below figure displays the input and output correspondingly. 


Input:


Output:





Also see : Edit DVM Files From Weblogic Composer

1 comment:

  1. Thanks for sharing your info. I really appreciate your efforts.

    ReplyDelete