Not many of us are against H1Bs in general, but it is easy to dislike the body shops because they don’t add much to the economy (not creating jobs).
Companies like Infosys, TCS, Accenture, Capgemini provide backoffice services for many Western business at a lower price point than what they could do themselves. That adds much to the economy.
The real leeches in this system are the consulting/placement shops.
Sure, it isn’t binary. Infosys is a good example of a mixture.