Step 2: Create the MAIN application

In your main application:

  1. Import the XML library. This is due to the support of WS-Addressing 1.0 with IMPORT XML.
  2. Import the generated .inc file with GLOBALS ""
  3. Manage the WS-Addressing 1.0 reference parameters representing the session state (if your client has to handle several instances of the same service).
For example:
IMPORT XML # Import the XML library required for WS-Addressing 1.0

GLOBALS "" # Import service global definition

TYPE InstanceType DYNAMIC ARRAY OF xml.DomDocument
 	# End point WSA reference parameters

DEFINE instance1,instance2,instance3 InstanceType
   # Store the different sessions the client will have to manage