This is achieved through ELK Directives. The original Linkage Section code will change from
The file compiler.properties should include one or more Library Routines and Utilities Configuration entries. For the moment, we just activate the Sevice Bridge feature. It will generate a SOAP RPC Web Service. So, compiler.properties contains:
At the end of the compilation process, you will find two additional files in your working directory:
• soapSONGS.cbl : the bridge program that allows our program to be called as Web Service, and
• SONGS.wsdl : the XML descriptor of the service
• restSONGS.cbl : the bridge program that allows our songs program to be called as REST Web Service.An alternative way to activate the Service Bridge facitlity is to set the necessary properties directly in the source code, using the SET Directive. For example:
In this case, no specific configuration is required at compile time, so the compile command is just:
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |