Skip to content

Instantly share code, notes, and snippets.

View Guatom's full-sized avatar

Felipe Lazo Guatom

  • Globant CL
  • Santiago de Chile
View GitHub Profile

Keybase proof

I hereby claim:

  • I am guatom on github.
  • I am guatom (https://keybase.io/guatom) on keybase.
  • I have a public key ASC0U9mSvmJc3HJi5-zR_Xq7XWRUX00rQ5_wL5P3JLwXPQo

To claim this, I am signing this object:

@Guatom
Guatom / Main.md
Created July 13, 2018 15:50
A Node.js use case for invoking SOAP Web Services

Summary

Let's suppose a service having the following features:

  1. It exposes a REST endpoint receiving a list of requests.
  2. It in parallel invokes a SOAP service, once per element in the requests list.
  3. It returns the converted result from XML to JSON.

That service's code could look something like this using Node.js and Express, and Airbnb JavaScript Style Guide:

'use strict';