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


Chapter 3 Command Line Interface : Find Tasks

Find Tasks
Execute one of the following commands in CLI to execute a find task in the interactive mode:
ant -f uddiant.xml find_sampleActivity
uddiant find_sampleActivity
Each find task prompts whether to use a data file. The following prompts will appear in CLI.
Press Y and then press Enter to use a data file. Otherwise, press N.
If you press Y and then press Enter, the following prompts will appear.
Enter the absolute path and the name of the data file.
To store the output information of the task in a file, enter the absolute path or the relative path and the name of the file.
You can also display the output information in CLI by pressing Enter.
If you specify to store the output information in a file, the following prompt may appear.
Specify the way to handle the specified output file. Selecting true will overwrite the file. Selecting false will append the output information to the file. The default is true.
If you press N and then press Enter in response to the Enter the data from the data file (y, n) prompt, the find task will prompt for the name of the related entity and a qualifier to be used while searching.
There are two options for the qualifier: exactMatch and approximateMatch.
exactMatch: searches for the entities whose names match the input entity name exactly.
approximateMatch: searches for the entities whose names match the input entity name approximately. If you select this qualifier, you can use the following wildcards.
%: stands for multiple characters.
_: stands for a single character.
For example, to search services whose names start with UDDI, set the serviceName as UDDI% in the requested service name input.
The case-sensitive mode of the database determines the default case-sensitive mode of the find_business tasks, find_service tasks, and find_tModel tasks. That is, if the database is case-sensitive, the three types of tasks will be executed in the case-sensitive way by default; if the database is case-insensitive, the three types of tasks will be executed in the case-insensitive way by default.
With the database being case-sensitive, you can have the three types of tasks executed in the case-insensitive way by adding the following qualifier in the data file:
    <findQualifier>caseInsensitiveMatch</findQualifier>
With the database being case-insensitive, you can have the three types of tasks executed in the case-sensitive way by adding the following qualifier in the data file:
    <findQualifier>caseSensitiveMatch</findQualifier>
find_business
Execute one of the following commands in CLI to execute a find_business task in the interactive mode:
ant -f uddiant.xml find_business
If you press N and then press Enter in response to the Enter the data from the data file (y, n) prompt, the following prompts will appear.
Enter the name of the business.
Select approximateMatch or exactMatch as needed. The default is approximateMatch.
To store the output information in a file, enter the relative or absolute path and the name of the file.
You can also display the output information in CLI by pressing Enter.
Enter the number of result entries you want the task to return. The default is 5.
If you specify to store the output information in a file, the following may appear.
Specify the way to handle the specified output file. Selecting true will overwrite the file. Selecting false will append the output information to the file. The default is true.
You can also execute the task in silent mode by executing one of the following commands.
ant -f uddiant.xml find_business -Ddatafromfile=[n|y] -DbusinessName=BusinessName -Dqualifier=[exactMatch|approximateMatch] -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
uddiant find_business -Ddatafromfile=[n|y] -DbusinessName=BusinessName -Dqualifier=[exactMatch|approximateMatch] -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
For information about the structure of the data files used by find_business tasks, see Section 5.1.10 find_business in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908086.
A sample data file find_business.xml is provided in the TIBCO_HOME/RuntimeUDDIServer/3.1/sample/data directory.
find_service
Execute one of the following commands in CLI to execute a find_service task in the interactive mode:
ant -f uddiant.xml find_service
If you press N and then press Enter in response to the Enter the data from the data file (y, n) prompt, the following prompts will appear.
Enter the name of the business service.
Select approximateMatch or exactMatch as needed. The default is approximateMatch.
To store the output information in a file, enter the relative or absolute path and the name of the file.
You can also display the output information in CLI by pressing Enter.
Enter the number of result entries you want the task to return. The default is 5.
If you specify to store the output information in a file, the following may appear.
Specify the way to handle the specified output file. Selecting true will overwrite the file. Selecting false will append the output information to the file. The default is true.
You can also execute the task in silent mode by executing one of the following commands.
ant -f uddiant.xml find_service -Ddatafromfile=[n|y] -DserviceName=ServiceName -Dqualifier=[exactMatch|approximateMatch] -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
uddiant find_service -Ddatafromfile=[n|y] -DserviceName=ServiceName -Dqualifier=[exactMatch|approximateMatch] -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
For information about the structure of the data files used by find_service tasks, see Section 5.1.12 find_service in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908088.
A sample data file find_service.xml is provided in the TIBCO_HOME/RuntimeUDDIServer/3.1/sample/data directory.
find_tModel
Execute one of the following commands in CLI to execute a find_tModel task in the interactive mode:
uddiant find_tModel
If you press N and then press Enter in response to the Enter the data from the data file (y, n) prompt, the following prompts will appear.
Enter the name of the tModel.
Select approximateMatch or exactMatch as needed. The default is approximateMatch.
To store the output information in a file, enter the relative or absolute path and the name of the file.
You can also display the output information in CLI by pressing Enter.
Enter the number of result entries you want the task to return. The default is 5.
If you specify to store the output information in a file, the following may appear.
Specify the way to handle the specified output file. Selecting true will overwrite the file. Selecting false will append the output information to the file. The default is true.
You can also execute the task in the silent mode by executing one of the following commands.
ant -f uddiant.xml find_tModel -Ddatafromfile=[n|y] -DtmodelName=tModelName -Dqualifier=[exactMatch|approximateMatch] -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
uddiant find_tModel -Ddatafromfile=[n|y] -DtmodelName=tModelName -Dqualifier=[exactMatch|approximateMatch] -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
For information about the structure of the data files used by find_tModel tasks, see Section 5.1.13 find_tModel in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908089.
A sample data file find_tModel.xml is provided in the TIBCO_HOME/RuntimeUDDIServer/3.1/sample/data directory.
find_binding
 
Execute one of the following commands in CLI to execute a find_binding task in the interactive mode:
uddiant find_binding
If you press N and then press Enter in response to the Enter the data from the data file (y, n) prompt, the following prompts will appear.
Enter the service key of the binding templates you want to search.
To store the output information in a file, enter the relative or absolute path and the name of the file.
You can also display the output information in CLI by pressing Enter.
Enter the number of result entries you want the task to return. The default is 5.
If you specify to store the output information in a file, the following may appear.
Specify the way to handle the specified output file. Selecting true will overwrite the file. Selecting false will append the output information to the file. The default is true.
You can also execute the task in silent mode by executing one of the following commands.
ant -f uddiant.xml find_binding -Ddatafromfile=[n|y] -DserviceKey=ServiceKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
uddiant find_binding -Ddatafromfile=[n|y] -DserviceKey=ServiceKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false] -Dlimit=Integer
For information about the structure of the data files used by find_binding tasks, see Section 5.1.9 find_binding in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908085.
A sample data file find_binding.xml is provided in the TIBCO_HOME/RuntimeUDDIServer/3.1/sample/data directory.

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