Showing posts with label DVM Example in SOA 12c. Show all posts
Showing posts with label DVM Example in SOA 12c. Show all posts

Wednesday, July 15, 2020

DVM Example in SOA 12c

Hi Welcome to this blog! In this post, I'd like to show you how DVM is used in SOA 12c. Domain Value Mapping(DVM) is used to give static values. In this example, I'll use a DVM that gives city name when we enter city code. So lets get started.

1. Create a SOA Project.





2. Create a schema with input and output.





3. Create a DVM. Right click on SOA folder>Click New>Domain Value Map. Give DVM Entries as below. Click OK.




After clicking OK, you'll see the DVM design view as below.




Click on plus(+) icon to add more values and save it.





4. Now, drag and drop  a BPEL with Synchronous interaction type. Select the input and output values from the schema that is created.




Double click on BPEL. Drag and drop an assign activity between Receive and Reply.




Edit the Assign activity to assign input to output variable. As I used two input variables, I concatenated them in output. Give the dvm lookup value as below.




Click OK.




Now Save all and deploy your project.


5. Test the web service by giving input values.





DVM converts the city code to city name.





Happy Learning!!

Featured Posts

Sample Real Time Assignment in Oracle SOA