Infosys interview question

How to implement a SOAP service and client using CXF and spring framework.