title: Unable to send parameters to SOAP method from Meteor's HTTP method
body: <p>I am using meteor's <code>http</code> package to connect to server which communicates through SOAP messages. Following is the code (without original url, namespaces, method names and parameters):</p>
  
  <pre>
  HTTP.call(&#39;POST&#39;, &#39;http://soap-service-url.com&#39;, {
      auth: &#39;user:password&#39;,
      headers: {
          SOAPTarget: &#39;http://soap-service-url.com&#39;,
          SOAPAction: &#39;http://required-namespace.com/methodName&#39;,
          &#39;Content-Type&#39;: &#39;text/xml&#39;
      },
      params: {
          parameter1: &quot;parameterValue&quot;,
          parameter2: &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;some-xml-goes-here&gt;&#39;,
      },
      content: &#39;&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&#39; +
                   &#39;&lt;soap:Envelope xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; &#39; +
                                  &#39;xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; &#39; +
                                  &#39;xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&#39; + 
                     &#39;&lt;soap:Body&gt; &#39; +
                       &#39;&lt;m:methodName xmlns:m=&quot;http://required-namespace.com&quot;&gt; &#39; +
                          &#39;&lt;m:parameter1 xsi:type=&quot;xsd:string&quot;&gt;parameterValue&lt;/m:parameter1&gt;&#39; +
                          &#39;&lt;m:parameter2 xsi:type=&quot;xsd:string&quot;&gt;&lt;![CDATA[&lt;?xml version=&quot;1.0&quot;?&gt;&lt;some-xml-goes-here&gt;]]&gt;&lt;/m:parameter2&gt;&#39; +
                       &#39;&lt;/m:methodName&gt; &#39; +
                     &#39;&lt;/soap:Body&gt; &#39; +
                   &#39;&lt;/soap:Envelope&gt;&#39;
  
  }, function (err, result) {
      if (err) {
          console.log(&#39;error occurred..&#39;);
          console.log(err);
          return;
      }
      console.log(result);
      console.log(&#39;----------------------&#39;);
  });
  </pre>
  
  <p>When I am calling methods without parameters I can get the expected output. But when I am calling methods with parameters, I am getting unexpected output. As the parameters given in the content property are not passed, I have added params property, even then I am unable to receive the expected output. To test the issue, I have created a node js application and connected to the same server using <code>node-soap</code> module. I can pass the parameters through the args on <code>client.myMethod(args, callback[, options])</code> and get the expected result. How to pass the parameters when using meteor's http package?</p>