Accessing a SOAP service from Node.js with a Static IP

    Table of contents

    If you’re looking for a powerful and flexible SOAP client for Node.js, look no further than node-soap. This popular npm package makes it easy to consume and publish SOAP web services, with support for both synchronous and asynchronous requests.

    The node-soap library is a great library for connecting to SOAP services from your Node.js app.

    var soap = require('soap'),
    url = 'http://example.com/wsdl?wsdl',
    args = { name: 'value' },
    opts = {
      wsdl_options: {
        proxy: process.env.QUOTAGUARDSTATIC_URL
      }
    };
    
    soap.createClient(url, opts, function(err, client) {
      console.log('connected');
      client.MyFunction(args, function(err, result) {
        console.log(result);
      });
    });
    

    Ready to Get Started?

    Get in touch or create a free trial account