Frequent Visitor.

Native Cobol to call 3rd party restful API(C#)


We are doing a POC in our organization to prove a Cobol program can call a restful API(built in .Net C#). We generated the input and output JSON schema files from the JSON data using a free online tool(JSCON schema draft 6) and used in Visual studio 2012 to generate the clients. Since the generated client had the service address blank(it will be auto populated if we generate the client from wsdl for SOAP services), we manually types in the URL to be called. However, we are getting error "Service name not found in IDT" when we executed the client program. I am not sure if we are doing something wrong in this process. Can someone help us ? Please notes that we use enterprise server version 3(enterprise developer ver 3 in machine).

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.