Product: OpenFusion Trading Service
Version: ALL
Description:
How to load the service type repository from the command line?
Resolution:
It is possible to load the service type repository data or offer data from the command line --provided the data has been stored in an XML file.
You can also export the data to an XML file using the command line.
This is done as follows: (NOTE: run script is located at ${OF_Install_Dir}/bin directory. )
- To export service types or offer definitions to an XML file:
> run com.prismt.cos.CosTrading.xml.ExportXML [ -s <file> ] [ -o <file>] [ <resolveName> | -i <ior> | -f <file>]
The options are as follows- -s <serviceTypeFile> : name of file to export service types into
- -o <offerFile> : name of file to export offers into
- <resolveName> : Traders resolve name
- -f <TraderIORFile> : name of file containing traders IOR
- -i <TraderIOR>: Traders IOR
- To import service types or offer definitions from a file run:
- To export service types or offer definitions to an XML file:
The options are as follows:
- -s <serviceTypeFile>: name of file to import service types from
- -o <offerFile> : name of file to import offers from
- <resolveName> : Traders resolve name
- -f <TraderIORFile>: name of file containing Traders IOR
- -i <TraderIOR>: Traders IOR
You can find more information in Section 4.5 of Trading Service Guide.
#TradingService
#OpenFusionCORBAService
#KnowledgeDocs
#OpenFusion