Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

 

<Explain what this sample does.

If we have prerequisites, please state>

Building the sample

<how to build this sample>

Executing the sample

This service uses validators in places where the validity of the input parameters has to be checked. This is shown in the "addEmployeeQuery" operation, by having a length validator for the "lastName" field where the length of the value should be between 3 and 20. Also, the "email" field is validated using a pattern validator which uses a regular expression to check if it's a real email address.

...