Previous Topic Next topic Print topic


Run the WPF Client

Walks you through the process of running the generated WPF client to access the new service.

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

  1. From the Solution Explorer, right-click MakeCheckApptWPFApp; then click Debug > Start new instance.
  2. 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.

  3. Complete the fields:
    lnkcustomer_name Benton Riley
    lnkconsultant_id 8706
    lnkYyyy 2525
    lnkMm 1
    lnkDd 1
    lnktime_slot 5
    lnkop_ok leave blank
  4. Click Submit.

    If the appointment is available, a y is returned to the Inkop_ok field; otherwise, an n is returned.

  5. 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.

  6. Complete the fields:
    lnkcustomer_name Benton Riley
    lnkconsultant_id 8706
    lnkYyyy 2525
    lnkMm 1
    lnkDd 1
    lnkop_ok leave blank
    lnkcust_id leave blank
  7. 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.

  8. Click DEBUG > Stop Debugging.

This concludes the REST Service Interface tutorial.

Previous Topic Next topic Print topic