What is Service Transaction?

It represents the user interaction with the registry system via a business service. It basically contains information about an instance of the business service and the registry information that the user wanted to create or update. It also contains the view tree which is a runtime XML representation of the UI.

View Service Transaction

To view the service transaction associated with a business service:

  1. Enable JSniper
  2. Right-click on a UI element and select Open in Magellan from the JSniper popup.
  3. Click on the service transaction button on the right button bar (A) as shown in the image below. This opens up the Transaction Service panel with the service transaction details populated as shown in the image further below.

The following image shows the service transaction button on the right button bar.

The following image shows the Service Transaction panel populated with the service transaction details and highlights the view node associated with the selected UI element, and shows its view node properties under the Properties tab on the right side of the panel.

The following options are available on the Service Transaction panel:

  • VPath (A) – Enter VPath of the view node that you want to search against the view tree.
  • Navigation buttons ← and → (B) – Navigate to the previous or next view node with the specified VPath in the view tree.
  • Expand all (C) – Expand the service transaction XML.

Properties Tab

It shows the runtime properties (ie. id) of the view node associated with the selected UI element.

View Node Properties use ↑ or ↓ arrow key to select a view node in the view tree and show its properties.

The following image shows the properties of the FirstName view node. Notice the followings:

  • textkeyPrefix shows the resolved text key with the specified text key prefix.
  • rendered-widget shows the name of the widget used to render the view node.
  • resourcePath shows the exact source configuration of view node.

Navigation

  • Ctrl + click on the view node id in the view tree to navigate to its source configuration.
  • Click on the resourcePath in the Properties tab to navigate to its source configuration.
0
0

Jump to Section