In the context of this conversation, I agree with @Eric Armstrong - BUT, if you want to maintain legality without a license, you could always make use of transactional lending. Or you could invest in properties on terms and, possibly, assign the agreement between you and the seller to another investor for a slight profit.
Again, I am NOT disagreeing with your lawyer, but as some have said before, contract assignments (to the best of my knowledge) aren't illegal - and when you're wholesaling a property, you are transferring ownership of the contract itself and the rights to purchase, not the real estate property (or at least this is my perception on the topic.)
Hopefully this helps:
http://www.nolo.com/legal-encyclopedia/assignment-of-contract-basics-32643.html
**Please NOTE these are just my opinions and are in no way, shape, or form, any legal advise. As I've mentioned a few times, heed the advise of an experienced, license legal professional.