Domain value maps operate on actual data values that transit through the
infrastructure at runtime. They enable you to map from one vocabulary
used in a given domain to another vocabulary used in a different domain.
For example, one domain may represent a city with a long name (
The below example describes how to use domain value map step by step :
Step 1 : Create a new SOA project
STEP 2 : Select a simple BPEL template to create a composite. You can try using DVM from other components on your own.
STEP 3 : Name the project as HelloDvm.select as synchronous one as shown below :
STEP 4 : Once Bpel project is created,select your project -> Right Click ,select New ->Select transformations -> Then DVM as shown below :
STEP 5 : Provide dvm name,attribute details as shown below :
STEP 6 : dvm file is now created in bpel,you can add as many fields you want later,below is the dvm file generated :
STEP 7 : Create a assign activity in between assign and reply activity,and put the belew details :
STEP 8 : Now develeopment is over,whenever you put INDIA as input, code : IN will come in reply.
STEP 9 : Deploy and test your services,give input as 'INDIA'
STEP 10 : Your final Bpel looks like this :
For futher details on above link learn below url:
http://docs.oracle.com/cd/E16764_01/integration.1111/e10224/med_dvm_ui.htm
You can add,update ,delete ,modify as many field values you wish!!!!
Happy Programming!!!!
Boston
), while another domain may represent a city with a short name (BO
). In such cases, you can directly map the values by using domain value maps.The below example describes how to use domain value map step by step :
Step 1 : Create a new SOA project
STEP 2 : Select a simple BPEL template to create a composite. You can try using DVM from other components on your own.
STEP 3 : Name the project as HelloDvm.select as synchronous one as shown below :
STEP 4 : Once Bpel project is created,select your project -> Right Click ,select New ->Select transformations -> Then DVM as shown below :
STEP 5 : Provide dvm name,attribute details as shown below :
STEP 6 : dvm file is now created in bpel,you can add as many fields you want later,below is the dvm file generated :
STEP 7 : Create a assign activity in between assign and reply activity,and put the belew details :
STEP 8 : Now develeopment is over,whenever you put INDIA as input, code : IN will come in reply.
STEP 9 : Deploy and test your services,give input as 'INDIA'
STEP 10 : Your final Bpel looks like this :
For futher details on above link learn below url:
http://docs.oracle.com/cd/E16764_01/integration.1111/e10224/med_dvm_ui.htm
You can add,update ,delete ,modify as many field values you wish!!!!
Happy Programming!!!!