In this paper, the authors propose an approach which can describe applications by annotating components and services which run in mobile environment on the service-oriented architecture with metadata in active XML. The approach describes also the platform of the mobile device and the properties of the used SOA. By describing and storing the metadata in active XML, new dependencies can be evaluated at run-time to adapt the application with the extensions provided or required by the mobile environment easily. The service manager and the active XML database to store metadata in the system are mainly introduced here. Active and passive service discovery methods are discussed and compared.