Generate Console and Windows Forms Clients

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 Tools; 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\IMSSupport\IMSScreenWSWinApp\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 Web service.