Generate Console and WPF 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 WPF client.

  1. In Enterprise Developer, click Tools > Options.
  2. Expand Micro Focus Tools; then click Service Interfaces.
  3. Check WPF 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".

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

  • IMSScreenWSClientApp - the console client
  • IMSScreenWSWPFApp - the WPF client

Each new project contains the client files required to successfully access the IMSScreenWS Web service.