uCosminexus Service Platform, Overview
An example of converting and updating value of request message in reception using component-common UOC is as follows:
The component used in this example is as follows:
For details on association of component and component-common UOC class, see "Appendix H Componentcommon UOC "" in "Service Platform Basic Development Guide".
Operating environment which serves as a prerequisite is as follows:
In this example, convert a part of request message and it becomes a process called update.
Process contents of usage example are as follows:
Figure 4-9 Process contents of usage example
When you are creating UOC class which changes data of a request message, you must combine the process in the following manner:
Example of creating UOC class is as follows:
Figure 4-10 Example of creating UOC class
Create jar file using build tool such as Ant, store it in jar file storage directory (In this example, C:\uocjar)
Contents of settings of the property file for component-common UOC are as follows:
rcp2=jp.com.reception.Rcp2Uoc |
In HCSC server runtime definition file, add the definition in the following manner:
common-uoc-prop-path=C:\\uocconf |
In usrconf.cfg file, set property value in the following manner:
add.class.path=C:\uocjar\uocClass2.jar |
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.