uCosminexus Service Platform, Basic Development Guide
This subsection explains how to set up and execute automatic service emulations.
To save the settings of the HCSC Auto Emulate view to an external file, click Save in the HCSC Auto Emulate view.
By clicking Load, you can obtain the settings saved in the external file. If settings already exist in the HCSC Auto Emulate view, a dialog box is displayed to confirm whether to overwrite the existing settings of the HCSC Auto Emulate view.
If multiple combinations of the same service and operation are set in the HCSC Auto Emulate view, emulation for the service with the highest priority is executed. To change the priority order of the service, select the row to be changed, and then click Up or Down.
If you right-click the file name of a response message and then select Show file, you can open the target file.
If multiple business processes are debugged, automatic emulation settings (service names and operation names) are enabled for all business processes.
Note that if manual emulation is executed on an invoke service activity that is the target for automatic emulation, manual emulation takes precedence over automatic emulation.
As the processing of a process instance proceeds in the invoke service activity specified in the HCSC Auto Emulate view, the specified response message is used automatically instead of the response message for the service.
If you specify an XML format file for a response message, the contents of the file are emulated directly as the response message for the service. If an XSL format file is specified for a response message, the result of applying the contents of the file to the request message for the service is emulated as the response message for the service.
Note that if automatic service emulation is not set, normal service invocation is executed.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.