Infosys interview question

Explain how webservices are setup?