title: Node soap, consume password protected WSDL
body: <p>I'm trying to build a SOAP client with Node, I'm using "soap" package (<a href="https://www.npmjs.org/package/soap" rel="noreferrer">https://www.npmjs.org/package/soap</a>) trying to consume a user/password protected WSDL.</p>
  
  <p>I can't find how to pass those credentials before creating the client by "soap.createClient", and of course, I can't retrieve the WSDL if I don't provide the right credentials.</p>
  
  <p>I've tried doing: </p>
  
  <p>soap.security.WSSecurity('user', 'pass');</p>
  
  <p>and then calling "createClient" but to no avail.</p>
  
  <p>Also, I've tried to do it with the node-soap-client, with this client I (apparently) can connect to the WSDL, but after that, I've no idea where to go (how to invoke methods).</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks for all your help!</p>