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.
- In
Enterprise Developer, click
Tools >
Options.
- Expand
Micro Focus Tools; then click
Service Interfaces.
- Check
WPF Application.
- If checked, uncheck any other checked client types.
- Click
OK.
Generate the Clients
- From the
Solution Explorer, right-click the
IMSScreenWS service interface; then click
Generate Clients.
- 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.