7.3.4 • Published 1 year ago

ut-port-soap v7.3.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

SOAP Port: ut-port-soap

Invoke SOAP APIs with templates. Loads templates from the templates folder passed via the port configuration See ut-function.template and ut-function.xml2json for more details about template processing.

Example usage

const path = require('path');

class merchant extends require('ut-port-soap')(...arguments) {
    get defaults() {
        return {
            namespace: 'merchant',
            url: 'http://merchant:8480',
            uri: '/services',
            templates: path.join(__dirname, 'templates')
        };
    }
};

See test/templates folder for example templates.