
It is a part of a framework for the automatic generation of adapters for interactions between two services. In particular, our contribution extends both in theory and in practice. The research we conduct in this thesis aims to solve the problem of incompatibility in the interaction between two services consumer and new provider. This is because the customer service was not been developed according to the new service provider. This substitution leads to incompatibilities between the interfaces of the service consumer and new service provider. For many reasons, such as failure of the service provider, the consumer has to replace his usual supplier with another supplier that offers the same functionality. These services are often delivered through different interfaces.

In the current Web, it is very often that many services meet the same set of functional requirements. These exchanges are based on the concept of interfaces, which describe the interactions in which a service can handle and dependencies between these interactions. In this context, the interactions between two consumer and supplier applications, encapsulated by Web services are done by exchanging messages. Web services have emerged as a support for development and integration of applications and information systems. The proposed solutions were tested by setting up a P2P network of registry communities, implementing a community manager and a discovery system. Then we use the requester's non-functional requirements and his behavior to select the registries. We first use the functional requirement of a service requester to select the appropriate registry community. Finally, we propose an approach for WS registries discovery that uses two filters to limit the search space. Then, to handle the dynamic nature of communities and their members, we define the needed management mechanisms to monitor changes and reconcile potential conflicts. To do this, we first propose to organize a registries network into communities based on functionalities offered by the WS of a registry. In this thesis, we are interested in WS discovery in a distributed registry environment.

In this context, if appropriate solutions are not considered, "traditional" WS discovery mechanisms that consist of scanning all the registries would for instance slow down the increase rate of WS. This raises an old, search engine, problem in a new form: discovery mechanisms of WS are not efficient both in response times and quality of results. As a result, the number of WS registries that are made available for use can be as many as the large number of companies. These companies have to make their WS available for consultation through their own private WS registries. More and more companies are using WS to achieve transactions with their partners and/or offer on-line services. Web services (WS) can be seen as a pillar block for achieving electronic B2B transactions.
