I'm using DFHLS2JS to generate the request/ response JSONs for an existing CICS program being exposed as service provider. I do not see any parameter to be set for DFHLS2JS for the path where wsdl will be created in unix. Please if anyone can help understand, how the wsdl file will get generated?
DFHLS2JS converts the copybooks into json schemas when using the request response options. You wouldn't get a WSDL file from this but two json schemas. The locations of these schemas are defined to DFHLS2JS by using the following options:
JSON-SCHEMA-REQUEST
JSON-SCHEMA-RESPONSE
For example these could be set to
JSON-SCHEMA-REQUEST=/u/myuser/schemas/json/request.json
JSON-SCHEMA-RESPONSE=/u/myuser/schemas/json/response.json
See https://www.ibm.com/docs/en/cics-ts/6.1?topic=cja-dfhls2js-high-level-language-json-schema-conversion-request-response-services for more details on the options.