Use a SOAP message in a script Preview and reuse the script to send the SOAP message. After you have developed and tested the SOAP message, click the Preview script usage related link in the SOAP Message Function form. The dialog box displays an example of how you can invoke the SOAP message from a script. Figure 1. Soap message sample script You can manipulate the resulting XML response body with XMLDocument or with gs.getXMLText and gs.getXMLNodeList.