jmoyers/soapjs — pull request #5 by notatestuser (2012-01-18 10:08:02+00:00)
Title: Amended SoapClient.lookupComplexType to work with a valid WSDL. In my fi...

...le, an 'element' tag had the 'name' attribute containing the name of the type, whereby 'complexType' was a child containing its sequence of parameters. I've amended the XPath query to work with both structures as I assume [the creator] hasn't done it wrongly intentionally and your own WSDL might actually be formed the other way.

Here's a relevant snippet from my own WSDL that exhibits the disparity:

...and it seems yours might have looked something like:

...