Generate Clients

You are now ready to generate a Windows Forms and a console client that can each access the IMSScreenWS service that is now deployed to Enterprise Server.

Restriction: For service interfaces, the Microsoft Visual Studio Shell supports the generation of console clients only. To generate any other type of client, you must install a full version of Visual Studio.

Set Generation Options

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

  1. In Enterprise Developer, click Tools > Options.
  2. Expand Micro Focus; then click Service Interfaces.
  3. Check Windows Forms Application.
  4. If checked, uncheck any other checked client types.
  5. Click OK.

Generate the Clients

  1. From the Solution Explorer, right-click the IMSScreenWS service interface; then click Generate Clients.
  2. Watch the generation process in the Output window. When it is complete, you'll see the message "Generation succeeded".
Important: If the Output window contains a message similar to the following, you must register the proxy library:
Register proxy library IMSScreenWSProxyWrapper.dll in 
"c:\tutorials\IMSTutorials\IMdirSScreenWSWinApp\Bin\Release".
See Register the Proxy Library for complete information.

You should see that two projects have been added to the Solution Explorer:

  • IMSScreenWSClientApp - the console client
  • IMSScreenWSWinApp - the Windows Forms client

Each new project contains the client files required to successfully access the IMSScreenWS service now running on the IMSDEMO enterprise server.