title: Unexpected wrapper element SOAP wdsl error
body: <p>Im trying to send request to a wdsl with node-soap client</p>
  
  <p>here is my code :</p>
  
  <pre><code>var url = 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl';
  
              soap.createClient(url, function(err, client) {
  
                  var today = new Date();
                  var params = {
                      terminalId: "1926577",
                      userName: "test2",
                      userPassword: "test1",
                      orderId: receipt.recieptId + "",
                      amount: parseInt(receipt.overal_price) + "",
                      localDate: today.format('ymd'),
                      localTime: today.format('His'),
                      additionalData: "Customer No: 15220",
                      callBackUrl: "http://test.ir/pay/verify",
                      payerId: parseInt(receipt.user) + ""
                  };
  
                  console.log(params);
  
  
                  client.bpPayRequest(params, function(err, result) {
                      if (err) {
                          throw err;
                      }
                      console.log(result);
                  });
  </code></pre>
  
  <p>and this error returned from wsdl :</p>
  
  <blockquote>
    <p>Error: soap:Client: Unexpected wrapper element bpPayRequest found.<br>
    Expected {<a href="http://interfaces.core.sw.bps.com/" rel="nofollow">http://interfaces.core.sw.bps.com/</a>}bpPayRequest.</p>
  </blockquote>
  
  <p>It seems the ns1 is not added as a prefix to </p>
  
  <blockquote>
    <p></p>
  </blockquote>
  
  <p>node in xml request</p>
  
  <p>I updated the module to v0.13.0 and added following :</p>
  
  <pre><code>used this code :
  var options = {
                  ignoredNamespaces: {
                      namespaces: [],
                      override: true
                  }
              }
  </code></pre>
  
  <p>Still same error :(</p>
  
  <p><strong>TEMPORARILY FIX</strong>
  add this to line 1496 of wsdl.js file of node-soap :</p>
  
  <pre><code>name = 'ns1:'+name;
  </code></pre>