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


Chapter 3 Command Line Interface : Save Tasks

Save Tasks
Execute one of the following commands in CLI to execute a save task in the interactive mode:
uddiant save_sampleActivity
Each save 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 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.
save_binding
Execute one of the following commands in CLI to execute a save_binding task in the interactive mode:
uddiant save_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 binding service key.
Enter the binding key if needed.
Enter the service access point (endpoint).
Enter the type of the service access point.
Enter the Web Service Definition Language URL for the service.
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 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 save_binding -Ddatafromfile=y -DdataFile=DataFilePath/DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_binding -Ddatafromfile=y -DdataFile=DataFilePath\DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
ant -f uddiant.xml save_binding -Ddatafromfile=n -DserviceKey=ServiceKey -DbindingKey=BindingKey -DaccessPoint=AccessPoint -DaccessPointUseType=Endpoint -DwsdlURL=WSDL_URL -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_binding -Ddatafromfile=n -DserviceKey=ServiceKey -DbindingKey=BindingKey -DaccessPoint=AccessPoint -DaccessPointUseType=Endpoint -DwsdlURL=WSDL_URL -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
For information about the structure of the data files used by save_binding tasks, see Section 5.2.15 save_binding in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908110.
A sample data file publish_binding_data.xml is provided in the TIBCO_HOME/RuntimeUDDIServer/3.1/sample/data directory.
save_business
Execute one of the following commands in CLI to execute a save_business task in the interactive mode:
uddiant save_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 business name.
Enter a description for the Business.
Enter the business key if needed.
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 may appear.
Specify the way to handle the specified output file. Selecting true will have the file overwritten. Selecting false will append the output information to the file. The default is true.
You can also have the task executed in the silent mode by executing one of the following commands.
ant -f uddiant.xml save_business -Ddatafromfile=y -DdataFile=DataFilePath/DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_business -Ddatafromfile=y -DdataFile=DataFilePath/DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
ant -f uddiant.xml save_business -Ddatafromfile=n -DbusinessName=BusinessName -Ddescription=Description -DbusinessKey=BusinessKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_business -Ddatafromfile=n -DbusinessName=BusinessName -Ddescription=Description -DbusinessKey=BusinessKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
For information about the structure of the data files used by save_business tasks, see Section 5.2.16 save_business in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908111.
A sample data file publish_business_data.xml is provided in the TIBCO_HOME/RuntimeUDDIServer/3.1/sample/data directory.
save_service
Execute one of the following commands in CLI to execute a save_service task in the interactive mode:
uddiant save_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 service name.
Enter a description for the service.
Enter the business key for the service.
Enter the service key if needed.
Enter the service access point (endpoint).
Enter the type of the endpoint. See UDDI Spec V3.0 for the possible values.
Enter the Web Service Definition Language URL for the service.
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 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 save_service -Ddatafromfile=y -DdataFile=DataFilePath/DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_service -Ddatafromfile=y -DdataFile=DataFilePath/DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
ant -f uddiant.xml save_service -Ddatafromfile=n -DserviceName=ServiceName -Ddescription=Description -DbusinessKey=BusinessKey -DaccessPointUseType=Endpoint -Dendpoint=EndPoint_URL -DwsdlURL=WSDL_URL -DserviceKey=ServiceKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_service -Ddatafromfile=n -DserviceName=ServiceName -Ddescription=Description -DbusinessKey=BusinessKey -DaccessPointUseType=Endpoint -Dendpoint=EndPoint_URL -DwsdlURL=WSDL_URL -DserviceKey=ServiceKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
For information about the structure of the data files used by save_service tasks, see Section 5.2.17 save_service in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908112.
A sample data file publish_service_data.xml is provided in the TIBCO_HOME/RuntimeUDDIServer/3.1/sample/data directory.
save_tModel
Execute one of the following commands in CLI to execute a save_tModel task in the interactive mode:
uddiant save_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 a name for the tModel.
Enter the tModel key if needed.
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 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 save_tModel -Ddatafromfile=y -DdataFile=DataFilePath/DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_tModel -Ddatafromfile=y -DdataFile=DataFilePath/DataFileName -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
ant -f uddiant.xml save_tModel -Ddatafromfile=n –DtmodelName=tModelName -DtmodelKey=tModedlKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
uddiant save_tModel -Ddatafromfile=n –DtmodelName=tModelName -DtmodelKey=tModedlKey -Dfile=OutputFilePath/OutputFileName -Doverwrite=[true|false]
For information about the structure of the data files used by save_tModel tasks, see Section 5.2.18 save_tModel in UDDI Version 3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908113.
A sample data file publish_tModel_data.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