LoopBack 4 SOAP Web Service TutorialNote: This page was generated from the loopback-next/examples/soap-calculator/README.md.
@loopback/example-soap-calculator
Integrating a Calculator SOAP web service with LoopBack 4.
Overview
This example project shows how to integrate a SOAP web service with LoopBack 4and expose its methods through the REST API server. Acceptance and Integrationtests are provided.
Before each step, you will be presented an image containing the artifacts thatyou will be creating in blue.
Setup
You’ll need to make sure you have some things installed:
- Node.js at v8.9 or greaterLastly, you’ll need to install the LoopBack 4 CLI toolkit:
npm i -g @loopback/cli
Start the Tutorial
Follow the following steps to start building your application:
Steps
- SOAP web service overview
- Scaffold the application
- Add a data source
- Add a service proxy
- Add a controller
- Run and test the application
Try it out
If you’d like to see the final results of this tutorial as an exampleapplication, follow these steps:
Generate the example using CLI
- Run the
lb4 example
command to select and clone the soap-calculatorrepository:
lb4 example soap-calculator
- Jump into the directory and then install the required dependencies:
cd loopback4-example-soap-calculator
- Finally, start the application!
$ npm start
Server is running at http://127.0.0.1:3000
Feel free to look around in the application’s code to get a feel for how itworks.
License
MIT