How do I make GlassFish work with SOAP 1.2?

This question was originally posed in this thread.

Bhakti provided the response and pointed to
this blog post.