SOAP on SAP Business Connector

I need to implement a service on SAP Business Connector that recive a SOAP message with some data. I have to process this data, execute a IDoc and send the response. How can I start? What should I do?