Skip to content

$Services

Allows calling SOAP services with JSON or XML content types.

1
const $Services: object;

Remarks

Refer to the process modeling documentation for additional information.

Calling a SOAP service with JSON content:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
try {
    result = $Services.webServiceName.endPointName.methodName({
        param1: {
            param1_b: "2019-01-01",
            param1_a: "someText",
            param1_c: 50
        },
        param2: "someOtherText",
        param3: "119-229334"
    });
}
catch (e) {
    console.warn(JSON.stringify(e));
}