DVM Usage In SOA

By rajesh | January 30, 2014 | 0 Comment

DVM files are used to map value used in one application to other value used in another application. Suppose in one application “INDIA” used as country value but in another application same country is defined as “IN”. so dvm are used to map these static values.

In this post, we will show you how to use these DVM files in both asssign and transform.

First create a synchronous BPEL project.

DVM_BPEL

Right click on newly added project and add one DVM file.

Name the DVM file and provide domain names and values.

DVM_DVMFile

Add multiple domain values as per your requirement.

DVM_Updated

If you want to use this DVM in assign then drop assign activity and choose “lookupValue” function and add it.

DVM_xapth

If you want to use the same function in xsl (transformation) file then fill necessary details as shown below.

DVM_XSL

Deploy your composite and test it.

DVM_Testing

 

Sample Code can be downloaded from below

DVMSample

TAGS

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *