Consuming web service and adapting layout