ut-port-soap

7.3.4 • Public • Published

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.

Dependents (0)

Package Sidebar

Install

npm i ut-port-soap

Weekly Downloads

0

Version

7.3.4

License

Apache-2.0

Unpacked Size

11.7 kB

Total Files

15

Last publish

Collaborators

  • kalin.krustev