How To Create Iris Service
How To Create Iris Service
How To Create Iris Service
Start the server: click the Servers tab, right-click T24 Connection and click Start (or Restart).
Importing enquiries or versions
To import an enquiry from T24:
In the top menu, click File → Import….
Expand Design Studio, click Import T24 Enquiries and then click Next.
Select the enquiry you want to add to your project. Click Next.
Save this enquiry in the enquiry folder of the *-models project. Click Finish.
Result: The ATI.EN.EC.ACCT.DETAILS.rim file has been generated in the following directory:
*-models\rim\gen\T24\enqATI.EN.EC.ACCT.DETAILS.rim
Adding the enquiry to the service document
The last step in creating your API is to add the RIM definition to the service document. The service
document is in the following directory:
*-models project\rim\project_name\project_name.rim
Double click the rim file with your project name, for example AtiBukoWokee.rim. The contents
of the file are displayed in the right pane.
Add the newly created RIM reference in the Service Document resource. Make sure you follow
the correct sequence: Domain Name → RIM Name → Resource Name (Collection)
Make sure that you are able to navigate from the Service Document to the newly added rim file. To test
the link, control-click the new resource definition. You should be able to go the enqAtiEnEcAcctDetailss
resource.
Change OFS Source
Change ofs source in the following directory:
*-iris project\src\main\appConfig\standaloneTAFJ
catalogServiceContext.xml
resourceProviderServiceContext.xml
*-iris project\src\main\appConfig\tafj
catalogServiceContext.xml
resourceProviderServiceContext.xml
Building an IRIS project
To build this project:
Expand the *-iris-parent project.
Right-click the Package.launch file, and then click Run As > Package.
After the build finishes, the following success message is displayed in the console window.