SOA Suite 12c: Using Domain Value Map (DVM) in Service Bus projects

Lucas Jellema 1
0 0
Read Time:2 Minute, 26 Second

Domain Value Maps are still DVMs in SOA Suite 12c. Create them in JDeveloper, use them in Transformations and Assignments in Mediator and BPEL. Inspect them and edit them at run time using SOA Composer. Nothing really new there.

What is new:

  • In 12c, we can use XQuery in BPEL and Mediator – and in these XQuery functions we can use Domain Value Map as well.
  • In 12c, we can use both XQuery and XSL Map in Service Bus – and here we can use Domain Value Maps as well
  • In 12c, we can inspect and edit Domain Value Maps also at runtime in the Service Bus Design Composer/Console
  • In 12c, we can create Domain Value Maps in Service Bus projects, publish them to the MDS Design Time Repository as well as import them into Service Bus projects from that repository

So as of now, in SOA Suite 12c we can leverage Domain Value Map from Service Bus components.

Let’s see what this all looks like:

Create a new resource in a Service Bus project, of type Domain Value Map:

image_thumb[53]

Define the name, the domains (columns) and a first sample of domain/column values:

image_thumb[51]

Press OK and the Domain Value Map editor is opened:

image

When the DVM is defined, it can be used – in XSLT Map, in XQuery – as shown here –

image

and in expressions, configured using this XQuery expression editor:

image

 

Publishing to and Importing from the SOA Design MDS Repository

The DVM can also be published to the Designtime MDS Repository:

image_thumb50

Let’s create a new directory in the MDS repository:

image_thumb56

and call it DomainValueMaps:

image_thumb57

Press OK, press Next:

image_thumb60

Press Finish

image_thumb61

And after refreshing the MDS connection

image_thumb63

The new resource is visible and available:

image_thumb66

When you want to make use of the DVM in another Service Bus project, you use the context menu option Import Resource.

Run time inspecting and editing of the Domain Value Map in the Service Bus Console

Note: when the Service Bus project has been deployed, the Domain Value Map is deployed as part of the Service Bus project. It is accessible through the Service Bus Design Composer tool – for inspection and even for run time editing:

image_thumb[71]

 

Sharing the Domain Value Map with other projects through the Design Time MDS Repository

The Domain Value Map can also be published to the Designtime MDS Repository, to make it available to other projects – both Service Bus and SOA composite:

image_thumb[50]

Let’s create a new directory in the MDS repository:

image_thumb[56]

and call it DomainValueMaps:

image_thumb[57]

Press OK, press Next:

image_thumb[60]

Press Finish

image_thumb[61]

And after refreshing the MDS connection

image_thumb[63]

The new resource is visible and available:

image_thumb[66]

When you want to make use of the DVM in another Service Bus project, you use the context menu option Import Resource.

If you want to refer to a resource in the MDS repository from a SOA composite application, you can browse for the resource in the standard browse dialog:

image_thumb[68]

About Post Author

Lucas Jellema

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director and Oracle Developer Champion. Solution architect and developer on diverse areas including SQL, JavaScript, Kubernetes & Docker, Machine Learning, Java, SOA and microservices, events in various shapes and forms and many other things. Author of the Oracle Press book Oracle SOA Suite 12c Handbook. Frequent presenter on user groups and community events and conferences such as JavaOne, Oracle Code, CodeOne, NLJUG JFall and Oracle OpenWorld.
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

One thought on “SOA Suite 12c: Using Domain Value Map (DVM) in Service Bus projects

Comments are closed.

Next Post

SOA Suite 12c: Sharing resources between SOA composites and Service Bus projects with Design Time MDS

A file-based, design-time MDS Repository is automatically included when you create a SOA composite application. You cannot modify the MDS Repository name, but you can modify it to point to an existing repository. Sharing operations are done against the design-time repository. You cannot perform these operations against a database-backed MDS […]
%d bloggers like this: