WSDL schema shows documentation can happen under definitions.
The current code does not support that, thus asserting on valid wsdl file.

http://stackoverflow.com/questions/10042652/which-wsdl-tags-can-have-documentation-tag
Update http.js

need a fix to work with magento v2_soap WSDL file.
the offending schema is at http://schemas.xmlsoap.org/soap/encoding/
Update wsdl.js

just a log so you can see its really working.
magento's WSDL file takes ages to load
didn't mean to put that in the pull request.

sorry...
Added additional XML mime type. Included server response code and response body in Error
Fix for issue #152, allow method to be updated on root via definePort
[#159] Pass custom options and headers for WSDL requests
WSDL only maps to array when maxOccurs is greater than one.
Log only when logger is set; fixes tests
Remove trailing whitespace
Include response and body in error object

The error object should include all information relevant to the
error. This makes debugging clients to remote web services easier with
promise libraries, such as Q [1]. Example usage:

  var Q = require('q');
  var soap = require('soap');

  var serviceUrl = // ...
  var methodArgs = // ...

  Q.nfcall(soap.createClient, serviceUrl)
    .then(function(client) {
      return Q.nfcall(client.Method, methodArgs);
    })
    .then(
      function(result) { console.log(result); },
      function(err) {
        console.error(err);  // response and body available in err
      }
    );

[1] https://github.com/kriskowal/q
Fixed issue with MultiRef Arrays
provide option for clients
better loop
access to last response body
allow 0 as a value in soap requests
removed debug log
added MIT License
Merge pull request #168 from arnaudm/master

Fixed issue with MultiRef Arrays
Merge pull request #167 from letsface/master

provide option for clients