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