Scripted web service example

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • 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" ) ; }