This example uses HTTPRequest (either Microsofts XMLHTTP or Mozillas HTTPRequest object) to POST a SOAP envelope and extract the server response. The library punaXML.js provides a common interface for handling XML objects.
This may only work if run from the domain puna.net.nz, otherwise protections against, or permissions for, cross domain scripting might block it.