Have ideas to improve npm?Join in the discussion! »

    @loopback/example-soap-calculator
    TypeScript icon, indicating that this package has built-in type declarations

    2.6.1 • Public • Published

    @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 4 and expose its methods through the REST API server. Acceptance and Integration tests are provided.

    Before each step, you will be presented an image containing the artifacts that you will be creating in blue.

    soap-calculator-overview

    Setup

    You'll need to make sure you have some things installed:

    Lastly, 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

    1. SOAP web service overview
    2. Scaffold the application
    3. Add a data source
    4. Add a service proxy
    5. Add a controller
    6. Run and test the application

    Try it out

    If you'd like to see the final results of this tutorial as an example application, follow these steps:

    Generate the example using CLI

    1. Run the lb4 example command to select and clone the soap-calculator repository:
    lb4 example soap-calculator
    1. Jump into the directory and then install the required dependencies:
    cd loopback4-example-soap-calculator
    1. 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 it works.

    License

    MIT

    Install

    npm i @loopback/example-soap-calculator

    DownloadsWeekly Downloads

    170

    Version

    2.6.1

    License

    MIT

    Unpacked Size

    119 kB

    Total Files

    68

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar