Scripted web service example

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:1分
  • 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" ) ; }