About the Interactive Program Services Designer

Use the Interactive Program Services Designer to create, update, and test web services and all sub-components that belong to a web service.

Before creating a web service, you should first determine the M3 BE functionality that should be exposed as a web service. We recommend that you accomplish these preparatory steps:

  • Decide the M3 BE program flow that should be exposed as a web service.
    Note: If an MI program or transaction already exists for that M3 BE program, use that MI program instead of creating an IPS web service.

    An IPS web service is created to script an existing M3 BE program. If the M3 BE program is modified, then the IPS web service might need to updated to work.

  • Start the M3 BE program in Infor OS Portal or Infor Ming.le and run through the program flow.
  • Note the panels that the program goes through to accomplish the task.
  • Note the fields in each panel that are required for input. These key fields are typically found on the A and B panels.
  • Note the fields in each panel that should be added as output.
Note: To view field ID information in Infor OS Portal or Infor Ming.le, or H5, pause on the field and press F1. You can use the field ID in the Interactive Program Services Designer to ensure that the correct field is added to the web service.

This is an example of a basic web service that fetches description for a currency. The M3 BE program in Infor OS Portal or Infor Ming.le, or H5 for the program flow is CRS055 - Currency. Open:

Definition Value
Service CRS055Demo
Method Display
Wrapped program(s) CRS055
Panel Sequence A (ENTER)

E (F3)

Input

WQCUCD, A-Panel, Mandatory

WWOPT2, A-Panel, CONSTANT=5

WWPSEQ, A-Panel, CONSTANT=E

Output WTTX40, E-Panel

Follow these steps to start working with web services:

  • Create or load a web service.

    The web service serves as the container for methods, which in turn specifies the programs to be executed.

  • Create a method.

    A method contains programs to be executed, as well as the relationship of these programs to one another. In every method, there is always a main program that is the starting point for an execution. A main program can then have related subprograms.

  • Add a program.

    A program contains the panel sequence to be followed. A program also contains all input and output parameters to be used in the execution of a method on the service. Input parameters are data handled by the program that control the behavior and execution of the program. Output parameters are expected data to be extracted and returned in the SOAP response after executing the program.

  • Test the web service.

    A test case is used to verify the functionality of a web service.