188 Smart SOA Solutions with WebSphere Enterprise Service Bus Registry Edition V7.5
6.7.1 The correlator modifier
The correlator modifier correlates and creates appropriate service model entities
and relationships as multiple WSDL documents are loaded. This modifier
facilitates keeping track of the same logical service version. In this section, we
illustrate which WSDL logical entities are created when a WSDL is loaded and
show how the service model entities are created and related to the WSDL logical
entities.
For details about the correlator modifier, refer to:
http://publib.boulder.ibm.com/infocenter/sr/v7r5/index.jsp?topic=/com.i
bm.sr.doc/cwsr_correlator_modifier_R5.html
Let us assume a service is defined in multiple WSDL documents. The
WSDLPortType element is defined in an interface WSDL file. The binding and
service elements of the service are defined in a second WSDL document that
imports the interface WSDL document.
In Figure 6-25, the WSDL document that contains only the WSDLPortType
element (no service or binding elements) is loaded into WSRR. Only the service
interface entity of the service model is created in WSRR.
Figure 6-25 WSDL that contains only an interface element is loaded
Chapter 6. Governance enablement profile 189
Next, a WSDL document that contains the binding and service elements of a
WSDL definition is loaded, as shown in Figure 6-26. This document imports the
interface WSDL that was loaded in the previous step. The other elements of the
service model are created appropriately and are related to the corresponding
logical entities by the correlator modifier.
Figure 6-26 A WSDL document containing the service and binding elements of a WSDL definition is loaded
In Figure 6-27, the third and fourth WSDL documents are loaded. Each
document contains the service and binding elements and imports the interface
WSDL that was loaded during the first step. The name, namespace, and version
of the service and binding elements are the same as the prior service and
binding WSDL document.
The correlator modifier correlates the logical WSDL service and WSDL binding
entities to the existing service and service binding entities of the service model.
However, the name of the port element is different. Each port contains a different
location address for three different deployment environments. Thus, three
service endpoint entities corresponding to three WSDL port logical elements are
created by the correlator modifier with the appropriate relationships between
them.
190 Smart SOA Solutions with WebSphere Enterprise Service Bus Registry Edition V7.5
Our discussions here use correlation in loading WSDL documents as an
example. The correlator modifier performs similar actions when XSD documents
or an SCA modules are loaded.
For details, refer to:
http://publib.boulder.ibm.com/infocenter/sr/v7r5/index.jsp?topic=/com.i
bm.sr.doc/cwsr_correlator_modifier_R5.html
Figure 6-27 Service model entities created and correlated by the correlator modifier are loaded
When a WSDL document is deleted, all the related WSDL logical entities are
deleted automatically. However, corresponding service model entities remain
without the WSDL document that created it. If you later reload the WSDL that you
deleted (perhaps with modifications of its content that do not change the
correlated properties), the service model is related to appropriate WSDL logical
entities that are created as the WSDL is loaded.
Thus, the correlator modifier keeps the conceptual service model entities and
relationships consistent as you load different elements and versions of WSDL
documents. In particular, it correlates WSDL logical service elements to the
service entity in the service model to maintain a consistent version of a service.
Service
Port
Service
Port
WSDL
Service
Service
Interface
Service
Binding
WSDL
Port
Type
Service Model WSDL Logical Model
1
Interface WSDL
Import
SOAP
Service
Endpoint
WSDL
Service
WSDL
Port
WSDL documents 3 & 4
With Binding + Service
WSDL
Binding
Service
Service
Port
2
3
4
WSDL documents

Get Smart SOA Solutions with WebSphere Enterprise Service Bus Registry Edition V7.5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.