Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 TIBCO ActiveMatrix UDDI Service Console : Searching for an Object

Searching for an Object
To work with an object, you need to locate it first. UDDI Service Console provides two search functions: the basic search function and the search by category function.
Performing a Basic Search
To perform a basic search, follow these steps:
1.
Select Search > Basic from the UDDI Service Console menu to open the Basic Search dialog, as shown in Figure 18.
Figure 18 The Basic Search Dialog
2.
Object Type: Select the object type in the Object Type drop-down list. You can select one of these object types: Business, Service, Binding Template, and tModel.
The search abc% returns all entries with abc at the beginning.
The search %xyz returns all entries with xyz at the end.
The search abc%xyz returns all entries with abc at the beginning and xyz at the end.
The search abc returns all entries with abc in anywhere.
If you check the Exact Match checkbox, an exact search will be performed.
Key: Click the Add button to add the keys in the Key list.
3.
Click the Search button to open the Search Results page, as shown in Figure 19 (for tModel objects).
Figure 19 The Search Results Page (1)
4.
Click the Export Search button in the upper right corner, you can export the searching criteria as an XML file named exportData.xml.
The exportData.xml file can be used as a data file when performing the find_XXX or get_XXX tasks in the Command Line Interface.
For more information about the find_XXX or get_XXX tasks, refer to Find Tasks and Get Tasks.
Search Results
The search result varies with the search criteria, as described below.
If you search for tModels and multiple tModels match the criteria, the tModels will be listed in the left pane of the Search Result page. The right pane displays the information about the tModel object currently selected in the left pane.
If you search for Business objects, Service objects, or binding templates and multiple objects match the criteria, the Search Results page appears (as shown in Figure 20) after you click the Search button. In addition to displaying the object you are searching for, this page also marks the parent objects of the currently selected object by enclosing the parent objects in red dashed frames.
Figure 20 The Search Results Page (2)
After you perform a basic search, the settings in the Search page remain until you change them in another basic search.
Searching for an Object by Categories
You can search for an object by object type, object name, and category name and value.
To search by categories, follow these steps:
1.
Select Search > by Categories from the UDDI Service Console menu to open the Search by Categories dialog, as shown in Figure 21.
Figure 21 The Search by Category Dialog
In the Search by Categories page, the list on the left of the page lists the existing categories in the order the server returns them. The Object Type drop-down list and the Object Name field are on the right side of the page.
2.
In the Category List on the left pane, double-click a category you want to use in the search to open the Search by Categories dialog, as shown in Figure 22. A table for the category has been added to the dialog. You can refine the search criteria by adding name-value pairs in the cells of the table.
Figure 22 Specifying a Category for Searching for an Object
Provide name-value pairs in the cells of the tables and click the Add button to add the name-value pair.
You can add multiple name-value pairs for a category in the same way. To remove an existing name-value pair, click the Delete button in the corresponding row. If no name-value pair is set, the search will be performed with the category ignored.
3.
Repeat step 2 to add other categories as needed for searching. To disable a category from being used in the search, click the Delete button in the top left corner of the corresponding table. Note that if multiple categories are specified, only the objects that match all the criteria specified for the categories simultaneously can be the search result.
4.
Specify an exact search by selecting the Exact Match for All Search Fields Below check box.
5.
Click the Search button to open the Search Results page, as shown in Figure 19 (for tModel objects) and Figure 20 (for business objects, service objects, and binding template objects).
6.
Click the Export Search button in the top right corner of the page to export the search criteria to an XML file named exportData.xml.
The exportData.xml file can be used as a data file when performing the find_XXX or get_XXX tasks in the Command Line Interface.
For more information about the find_XXX or get_XXX tasks, refer to Find Tasks and Get Tasks.
For information about the search results, refer to Search Results.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved