Step 2: Create the MAIN application
In your main application:
Import the generated .inc file with GLOBALS "ws_stub.inc".
Manage the HTTP cookies representing the session state (if your client has to handle several instances of a same service).
For
example:
GLOBALS "ws_stub.inc" # Import service global definition
# Store the different sessions the client will have to manage
# in a string
DEFINE instance1,instance2,instance3 String
MAIN
...
END MAIN