SAP ByDesign SOAP based web services consumption in NodeJS

Here is a small example how to consume SAP BYD SOAP services in NodeJS.

I’m going to use this service

This QueryJournalEntryIn service is for reading journal entries from BYD system.
Example SOAPUI request:

Doing the same thing with NodeJS, express middlware and node-soap npm package.
We are still using the WSDL query but instead of using the default queries provided by the WSDL we can define our own just like in SOAPUI.


In the example above i’m also making multiple queries to SOAP service since I only need few specific document types:



And now e get response back from ByDesign:

That’s it. If any questions, please leave a comment below.