Previous Topic Next topic Print topic


CICS Application Clients

Generated when you Generate Web Service from a CICS app - bottom-up.

CICS Application client project

After generating a client, Enterprise Developer adds a client project to the solution that contains your service interface. The name of the project is myserviceCICSClientApp. The components of the client application differ depending on whether you are using WSDL, a single JSON schema, or request and response JSON schemas:

WSDL
myservice-app.cbl
The generated client COBOL program.
myservice-app.cpy
A generated COBOL copybook used by the client program.
myservice-proxy.cbl
A COBOL program for invoking the service via a production client.
myservice-proxy.cpy
A copybook used by the proxy program.
Request/Response JSON Schemas
RESTful JSON Schema

Editing a CICS Application client program

To enhance its appearance and usability, you can optionally edit a CICS Application client program using the Enterprise Developer COBOL editor, or any text editor.

Running a CICS Application client

You can run a CICS Application client directly from your project using the Enterprise Developer Debugger. Before doing so, ensure that:

  • The enterprise server region configured to run the service is associated with the project that contains your service interface (.svi) file
  • The enterprise server region is started
  • Your service interface is deployed to the enterprise server region
  • The CICS Application client project is set as the startup project
  • The COBOL application is started in the Debugger

When you start the Debugger, Enterprise Developer automatically builds the client project and executes it.

Previous Topic Next topic Print topic