Integrating web service with the application