Developing an Internet Service from a Transaction
Prerequisites
-
You have created a Web transaction from a task or a workflow, as described in the previous steps.
-
You know the task/workflow and the name of the transaction with the associated module pool. If you do not know the transaction and module pool, you can find out their names from the definition of the single or multiple step tasks by choosing .
Procedure
-
Call the Object Navigator. For more information on operation, see Object Navigator.
-
Generate an Internet Service. Also choose
. Change to the tab page Web objects, select ITS Service, and choose
.The Web Application Builder: Create Internet Service dialog box is displayed.
-
Enter the task ID for the name of the Internet service, select Easy Web transaction, enter the code of the Web transaction generated as the transaction code, and choose Continue.
-
Save the Internet service in the same package as the Web transaction.
-
Enter a short text for the Internet service on the properties tab page. You can define additional parameters on the parameter tab page. Here you should at least select the ~LOGIN and ~PASSWORD parameters. Use the F4 possible entries for parameter input.
-
If the Internet service that you just created is not displayed in the object lists selection, select it there.
Theme 99 is displayed in the object service for your Internet Service. All HTML Templates are assigned to a theme.
-
Create an HTML template for each screen of your web transaction. Select the Internet service in the object list, and choose in the context menu.
The Web Application Builder: Create HTML Template dialog box is displayed. If necessary, enter 99 in Theme, select Generate HTML from screen, and enter the number of the screen for which you want to generate an HTML template in Screen number. Choose HTML Business as Generation Style. Repeat the procedure for all screens of the web transaction (50, 100, 150, and 200). For more information, see Creating HTML Templates.
-
Revise the HTML templates. For more information, see Extending HTML Templates and Generating HTML Templates.
-
Publish the Internet Service on the requested instance(s) of the Internet Transaction Server. For more information, see Publishing a Service.
Results
All of the files required by this service have been copied to your ITS server and, therefore, can be called when necessary.

