R
R
Ruslan Samara2020-07-21 15:05:58
SOAP
Ruslan Samara, 2020-07-21 15:05:58

How to accept soap requests on node.js?

I want to understand the soap protocol. Before that, I used the rest api on nodejs (express) I can.
Recommend libraries, or code samples, differences from using restapi, and where to read better about the protocol.
For example, how to process such a request using express or another pure nodejs library to return the result in json format?

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wrap="http://foo.bar/wrappersoapserver">
   <soapenv:Header/>
   <soapenv:Body>
      <wrap:doLogin>
         <email>?</email>
         <password>?</password>
      </wrap:doLogin>
   </soapenv:Body>
</soapenv:Envelope>

It is also interesting to read how to make a WSDL link for quick application testing.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question