An example to illustrate a SOAP server and a SOAP client set-up and interaction
To run a sample of how this works:
- Run
npm install
- Run the SOAP server by typing this on the command line:
node soap_server.js
- Once the server is up and running, you can access the hosted WSDL file through this URL:
http://127.0.0.1:8001/soap?wsdl
- Start the HTTP server that will use the SOAP client to make SOAP calls to the SOAP server:
node soap_server_caller.js
- To make SOAP requests, type this URL in the browser (calls the HTTP server which will in turn make SOAP calls to the SOAP server):
http://127.0.0.1:8002/makeSoapCall
For the dependencies, you can refer to package.json