In this article, we defined the steps to create a web service based on an example that relates to the field of e-Learning. In addition, it cited the components and the basic functionality of a web service. In determining the concepts on which is based the web services namely SOAP and WSDL (a description in XML Schema web service) and UDDI, these three elements constitute the life cycle of use of a web service architecture in a distributed client / server.