Rebecca Dias has a great post on SOA, broadband and outsourcing. Most important lessons:
Outsourcing WILL happen! If you outsource everything that is of value to your customers, your business will die and you will become a commodity.
Outsourcing WILL happen!
If you outsource everything that is of value to your customers, your business will die and you will become a commodity.
So the lesson to learn here: Do the stuff you're clients find important, quality assurance and service, and outsource the less visible things, which someone else can do as good, but a lot cheaper, e.g. boring development chores : "Do I need to write another DAL ?".
Note to self: this last sentence is bad, work on it.