To access the ROC application from ASP.NET Web Forms, perform the following:
Build an AB Suite application (for example, Sample) with the System uses ROC property set to True in the segment Property Pages window and the User Defined View Generator property set to ASP.NET Web Forms in the bundle folder Property Pages window.
Rename the IspecList.xml file in the following location:
<CE Download directory>\<Package prefix>\<AB Suite application name>\<bundle folder name>\views\lang1
For example, you can rename the IspecList.xml file to IspecList_sample.xml
Import the MCP ROC model into AB Suite Developer. This might be the default model, which is released with the AB Suite product, or a customized version of it. By default, the location of the model is:
<drive>:\Program Files (x86)\Unisys\AB Suite x.x\Bin\ROCMCP.model
Generate a bundle of the folder that contains the Ispecs of the ROC application.
Notes:
Ensure that the name of the bundle folder is same as the name of the bundle folder created for the AB Suite application. For example, ASPNETclient can be the name of the bundle folder in both ROC system and AB Suite system.
Set all the properties required to build an application to generate a bundle folder.
Ensure that the segment properties are same as the properties of the AB Suite application.
For example:
Application Name: Sample
Package Prefix: com.unisys
CE Output Directory: C:\NGEN_CE\classes
Navigate to the following location and delete the IspecList.xml file created for the ROC application:
<CE Download directory>\<Package prefix>\<AB Suite application name>\<bundle folder name>\views\lang1
Rename the IspecList_sample.xml to IspecList.xml
Open the IspecList.xml file and uncomment the lines corresponding to the ROC Ispecs.
For example:
<ispec name="ROC_I" description="ROC_I - Dummy Switch To Roc" /> <ispec name="ROC_A" description="ROC_A - Roc Ispec" />
Log onto the MCP host and create a RATL view for the AB Suite application; for example, Sample.
Create a Virtual directory for the AB Suite applications by using the SetupASPNet.vbs file in the following location:
<CE Installed directory>\ASP.NET Generator\Utilities\Setup
Refer to the Agile Business Suite Component Enabler User Guide for more information on creating a virtual directory.
Run the CompileASPNet.bat file from the following location:
<CE Download directory>\<Package prefix>\<AB Suite application name>\<bundle folder name>\views folder.
Configure the Web.config file present in the views folder of the AB Suite application.
Refer to the Agile Business Suite Component Enabler User Guide for more information on configuring a Web.config file.
Open Internet Explorer and type the following URL in the address bar: http://<deployment host name>/application name_bundle name/default.aspx The AB Suite application appears in the browser displaying a list of Ispecs.
Select the ROC Ispec that you want to display.
Note: If you specify an Ispec as the Fireup Ispec in the Segment properties, the application displays the same Ispec instead of a list of Ispecs. You must right-click the screen, select Select a Form from the list, and then click the ROC Ispec you want to display.