Avatar

Level 2

Hi florentlb

I am getting the same Internal Server error.

I am trying to call an external Soap service through my Javascript activity. Here is my code:

document.cnx = new HttpSoapConnection('http://www.dneonline.com/calculator.asmx', 'utf-8', 0)

document.soapSrv = new SoapService(cnx, 'http://www.dneonline.com/calculator.asmx?op=Add')

document.soapSrv.addMethod('Add', 'xtk:session#Add',

                           ['intA', 'long','intB', 'long'],

                           ['AddResult', 'long'])

var soapResult = document.soapSrv.Add(1,2)

if( soapResult.*.length()==0 )

  return null

return soapResult

Any help is appreciated. I am stuck for days

Error:

10/17/2018 8:14:29 AM js SCR-160012 JavaScript: error while evaluating script 'WKF38/js'.

10/17/2018 8:14:29 AM js INT-150012 The HTTP query returned a 'Internal Server Error' type error (500)