You can generate the Subprogram-Proxy-Client model in the Generation subsystem or use the Business Service wizard in the Natural or Eclipse plug-in to do this during the generation of a business service. This section covers the following topics:
To generate the Subprogram-Proxy-Client model in the Generation subsystem:
Enter "ncstg" on the Natural command line.
The Natural Construct Generation main menu is displayed.
Note:
For more information on using the Generation main menu, see
Natural Construct Generation.
Type "M" in Function.
Type the name of your subprogram proxy client in Module.
Type "Subprogram-Proxy-Client" in Model.
Press Enter.
The Standard Parameters panel for the Subprogram-Proxy-Client model is displayed. For example:
CUSQMA SUBPROGRAM-PROXY-CLIENT Subprogram CUSQMA0 Jun 01 Standard Parameters 1 of 1 Module ............. SPCLIENT System ............. CSTDEMO__________________________ Title .............. Subp proxy client for..._ Description ........ Description of subprogram proxy client that..._________ _______________________________________________________ _______________________________________________________ _______________________________________________________ Server proxy subp .. ________ * Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- main help retrn quit userX main |
Select the name of the server proxy from Server proxy subp.
Use one of the following methods to determine the name of the server proxy:
Scan the library for subprograms generated by the Subprogram-Proxy model
View the service module names listed in the repository in the Natural or Eclipse plug-in
Press Enter.
The Generation main menu is displayed.
Enter "G" in Function to generate the subprogram proxy client.
To generate the subprogram proxy client in the Eclipse plug-in:
For a new business service, select Auto-generate Natural clients on the Enter Service Name and Select Domain panel before generating the service. For information, see Create a Business Service.
For an existing business service, select Generate Natural client on the context menu for the service in the Service Repository Explorer. For information, see Generate a Natural Client.
To generate the subprogram proxy client in the Natural plug-in:
For a new business service, select Auto-generate Natural clients on the Enter Service Name and Select Domain panel before generating the service. For information, see Create a Business Service.
For an existing business service, select Generate Natural client on the context menu for the service in the Business Service Repository. For information, see Generate a Natural Client.