How to generate a Unique ID in TIBCO API Exchange Gateway(APIX-G)?
book
Article ID: KB0085490
calendar_today
Updated On:
Products
Versions
TIBCO API Exchange
-
Not Applicable
-
Description
Resolution: A unique ID can be generated using the attached file (Filename: GenerateUUID.zip). The instructions to use this are:
- Unzip the attached file into the $ASG_HOME/projects/ASG_DefaultImplementation/DefaultImplementation/Rules/CustomStages/ directory. A new dir "GenerateUUID/" with one entry "InsertInLifeCycle.rule" should be created.
- Open the project in ASG Studio and recompile the asg_core.ear file. Be sure to make a backup of the existing one first.
- add an OperationFeature with value "GenerateUUID" to the required Facade Operation
- in all the mappers a new element in the context XML document with key="ms:uuid" should be seen