Why is it not a good idea to use SOAP for communicating with the front end? For example, a web browser using JavaScript.
It could be done. Just remember that SOAP is not the fastest way to exchange information as there is a big overhead (big XMLs have to be sent back and forth) - that's probably why you don't see it used that often