Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Scripted web service example

This example demonstrates the processing script for the FakeStockValue web service.

var vProcessor  = new FakeStockValue (soapRequestXML ) ;

  var responseElement  = vProcessor. process ( ) ; if (responseElement  != null ) {
  response. soapResponseElement = responseElement ; } else {
  response. soapResponseElement = vProcessor. generateSoapFault ( "unknown error" ) ; }

Parent Topic:Create a scripted web service using a static WSDL