LB4 has the package @loopback/proxy-server that contains the artifactsneeded to implement the link between the methods described in the .json file andthe Node.js methods. All we need to do is to write the service provider thatwill serve as the glue to make this implementation real.

    Installing the proxy-server

    Make sure you are inside the soap-calculator directory and run the followingcommand:

    Writing a service provider

    src/services/calculator.service.ts

    Adding our interfaces

    When we reviewed the remote SOAP web service, we found that there were fourdifferent results for the four operations and each of these operations wereexpecting the same pair of arguments intA and intB. Now, it is time to definethis scenario using interfaces as follows:

    Navigation

    Previous step:

    Next step: Add a Controller