Example showing the structure of RegistryLookup node output for a query on an entity having metadata relationships and user-defined relationships, using a Depth Policy property value of Return matched plus all related entities (Depth = -1) .
This example shows the ServiceRegistry message tree that is stored in the LocalEnvironment when the relationships shown in the following WebSphere® Service Registry and Repository graph are retrieved using a Depth Policy value of Return matched plus all related entities (Depth = -1). The graph has been annotated with the relationship names to clarify the elements in the message tree.
The following ServiceRegistry message tree has some elements replaced by ... to emphasis the structure of the tree.
ServiceRegistry
Entity
name = ServiceConcept1
...
userDefinedRelationships
name = modeledAs
targetEntities
Entity
name = service1.wsdl
...
userDefinedRelationships
name = definedBy
targetEntities
EntityRef
bsrURI = c26e43ac45a
name = ServiceConcept1
metaRelationships
name = importedWSDLs
targetEntities
Entity
name = binding1.wsdl
...
Entity
name = binding2.wsdl
...
userDefinedRelationships
name = isService
targetEntities
Entity
name = service1
...
metaRelationships
name = ports
targetEntities
Entity
name = portb1
...
metaRelationships
name = binding
targetEntities
Entity
name = binding1
...
metaRelationships
name = SOAPAddress
targetEntities
Entity
name = portb1_SOAPAddress
...