You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ wsdl2.js etarget etframework.wsdl
/Users/blairanderson/.nvm/v0.10.29/lib/node_modules/wsdl2.js/wsdl2.js:271
var elements = thisSchema[ns['xsd']+'element'];
^
TypeError: Cannot read property 'xsd:element' of undefined
at /Users/blairanderson/.nvm/v0.10.29/lib/node_modules/wsdl2.js/wsdl2.js:271:30
at Array.forEach (native)
at processTypes (/Users/blairanderson/.nvm/v0.10.29/lib/node_modules/wsdl2.js/wsdl2.js:268:14)
at processWSDL (/Users/blairanderson/.nvm/v0.10.29/lib/node_modules/wsdl2.js/wsdl2.js:67:3)
at Object.<anonymous> (/Users/blairanderson/.nvm/v0.10.29/lib/node_modules/wsdl2.js/wsdl2.js:52:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
The text was updated successfully, but these errors were encountered:
Those element tags should be a part of the xsd namespace, at the top you've defined the default namespace to be wsdl.
This is your definition of the xsd namespace: xmlns:xsd="http://www.w3.org/2001/XMLSchema" (line #1)
Which means your <element tags need to be prefixed with the correct namespace like this <xsd:element as will any other XML tags you've used which are a part of xsd.
WSDL => https://webservice.s7.exacttarget.com/etframework.wsdl
The text was updated successfully, but these errors were encountered: