To Execute this Example

LANSA

To Execute this Example
Handling the Client Side of a B2B XML Transaction The Things that Make Up this Example

Before executing this example please refer to Setting Up Your JSM Environment.

Note: In the input screens you have the choice of specifying your own host or blank out to use a LANSA Host:
  • Type in your host’s address to receive the service response by the function SET217S.
  • Blank out the host address to receive the service response by a CGI program placed in the www.lansa.com.au web site. This program will generate a random response.
Placing an Order from the Web

Open a browser session. In the address entry field of the browser type:

http://nnn.nnn.nnn.nnn:xx/CGI-BIN/LANSAWEB?PROCFUN+set_214+set214w+ppp

Where:
nnn.nnn.nnn.nnnis the IP address of the web server you are connecting to
Xxis the port number where your web server has been configured to run. If your web server uses the default port 80, this parameter is not required.
Pppis the partition identifier of the partition where you imported the SET material

Placing an Order from a 5250 “Green Screen” (or emulator)

Inside the LANSA environment, use option 10 from the Work with Processes menu against process SET_214, then take option 1.

Outside the LANSA environment, use the LANSA command. Provided the LANSA program library is on the current library list:

LANSA REQUEST(RUN) PROCESS(SET_214) PARTITION(<ppp>)

And use the menu option 1