Provides instructions for generating both console and WPF client applications that can be used to access the deployed Web
service.
Generate the clients
The client generation process automatically produces a console client without further configuration; however, to simultaneously
generate a WPF client, you must set a generation option.
- From Visual Studio main menu, click
Tools > Options.
- Expand
Micro Focus Tools, and then click
Service Interfaces.
- Check
WPF Application, and then click
OK.
- On the
Solution Explorer, right-click the
ACCTWS service interface, and select
Generate Clients from the context menu.
You can watch the generation process in the
Output window. When it is complete, you should see the message
Generation succeeded. In the Solution Explorer, two new projects have been added to the solution:
- ACCTWSClientApp - the console client
- ACCTWSWWPFApp - the WPF client
Each new project contains the necessary client files to successfully access the ACCTWS service now running on the CICSEXT
enterprise server region.
Build the WPF Client Project
You need to build a WPF client project before you can run or debug it.
- On the
Solution Explorer, right-click the
ACCTWSWPFApp project, and then select
Build from the context menu.