vpulim/node-soap — pull request #357 by herom (2014-05-22 09:06:07+00:00)
Title: Introduced `$lookupType` and `$lookupTypes` on a `message` `part` elemen...

...t which has declared an `element` instead of a `type`.

Within `Client.prototype._invoke()` the `input.$lookupType` property will be used if `input.$type` is not available, providing a first hook for further parameter look ups to move in the right direction and resolve the desired property with the already existing/implemented code.

The `$inputLooupTypes` `Array` provides an `object` for each referenced `complexType` along the line of possible available children, setting its `$name` `$type` and `$namespace` attributes so that `WSDL.prototype.findParameterObject()` and `WSDL.prototype.findChildParameterObject()` could be used without changing the way how all other `object`s are processed.

This pull request closes https://github.com/vpulim/node-soap/issues/348 without introducing the discussed `DeferredCache` implementation, as everything what's needed is already read and available in the`MessageElement.prototype.postProcess` method.