Previous Topic Next topic Print topic


Generate Clients

We will now generate Web Services clients to access the CICSCommareaWS service that we deployed to our CICSCA enterprise server.
Note: Be sure you have met all of the prerequisites for generating Windows Forms clients as specified in the topic Prerequisites.
Restriction: The Microsoft Visual Studio Shell does not support the generation of clients for service interfaces created using the IMTK. To generate clients, you must install a full version of Visual Studio.

The generation process for Web Services automatically produces a console client; however, we must set an option to enable generation of a Windows Forms client.

  1. From Visual Studio, click Tools > Options.
  2. Expand Micro Focus; then click Service Interfaces.
  3. Check Windows Forms Application; then click OK.
  4. From the Solution Explorer, right-click the CICSCommareaWS service interface; then click Generate Clients.
You can watch the generation process in the Output window. When it is complete, you'll see the message "Generation succeeded". You should see that two projects have been added to the Solution Explorer:
  • CICSCommareaWSConsoleApp - the console client.
  • CICSCommareaWSWinApp - the Windows Forms client.

Each new project contains the necessary client files to successfully access the CICSCommareaWS service now running on the CICSCA enterprise server.

Previous Topic Next topic Print topic