title: Node.js: SOAP request?
body: <p>I'm trying to perform a request from an existing Node.js server. The request has been given to me using an XML format, but I'm clueless about how to use that... Please have a look at it and give me some directions about how these are usually handled?</p>
  
  <p>Thanks in advance...</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.__SOME_DOMAIN__.com"&gt;
     &lt;soapenv:Header&gt;
        &lt;api:userToken&gt;
           &lt;password&gt;pwd&lt;/password&gt;
           &lt;username&gt;usr&lt;/username&gt;
        &lt;/api:userToken&gt;
     &lt;/soapenv:Header&gt;
     &lt;soapenv:Body&gt;
        &lt;api:SearchModels&gt;
           &lt;!--Optional:--&gt;
           &lt;searchText&gt;__KEYWORD__&lt;/searchText&gt;
        &lt;/api:SearchModels&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>