not all APIs use REST some such as UK National Rail Travel APIs use SOAP
https://dev.to/alialp/soap-vs-rest-219k
https://fsse8info.wordpress.com/2020/01/12/uk-bus-buses-railway-train-travel-apis/
heres a guide on using node and node-soap from red hat
and here's node-soap on github
Soap
A SOAP client and server for node.js.
This module lets you connect to web services using SOAP. It also provides a server that allows you to run your own SOAP services.
- Features:
- Install
- Why can't I file an issue?
- Where can I find help?
-
Module
- soap.createClient(url[, options], callback) - create a new SOAP client from a WSDL url. Also supports a local filesystem path.
- soap.createClientAsync(url[, options]) - create a new SOAP client from a WSDL url. Also supports a local filesystem path.
- soap.listen(server, path, services, wsdl, callback) - create a new SOAP server that listens on path and provides services.
- Options
- Server Logging
- Server Events
- Server Response on one-way calls
- SOAP Fault
- Server security example using PasswordDigest
- Server connection authorization
- SOAP Headers
- Client
Top comments (0)