Walks you through the process of running the generated WPF client to access the new service.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
At this point, you are now ready to run the WPF client to access the new service.
Build the WPF Client Project
You need to build the client project before running it.
- On the Solution Explorer, right-click the
MakeCheckApptWPFApp project; then click
Build.
Debug the Client
- From the Solution Explorer, right-click
MakeCheckApptWPFApp; then click
Debug > Start new instance.
- Click the
MakeAppt tab.
Here you enter the variable information that the system requires to schedule an appointment, including the customer name, consultant ID, the year, month, and day of the desired appointment, and the desired appointment time slot.
- Complete the fields:
lnkcustomer_name
|
Benton Riley
|
lnkconsultant_id
|
8706
|
lnkYyyy
|
2525
|
lnkMm
|
1
|
lnkDd
|
1
|
lnktime_slot
|
5
|
lnkop_ok
|
leave blank
|
- Click
Submit.
If the appointment is available, a
y is returned to the
Inkop_ok field; otherwise, an
n is returned.
- Click the
CheckAppt tab.
Here you enter the variable information that the system requires to look up an appointment, including the customer name, consultant ID, and the year, month, and day of the appointment.
- Complete the fields:
lnkcustomer_name
|
Benton Riley
|
lnkconsultant_id
|
8706
|
lnkYyyy
|
2525
|
lnkMm
|
1
|
lnkDd
|
1
|
lnkop_ok
|
leave blank
|
lnkcust_id
|
leave blank
|
- Click
Submit.
If the appointment is in the system, a
y is returned to the
Inkop_ok field, and the appointment is visible in the fifth time slot listed on the array.
- Click
DEBUG > Stop Debugging.
This concludes the REST Service Interface tutorial.