node-ews: RangeError: Maximum call stack size exceeded
I’m running EWS function “UpdateItem” with arguments:
{
attributes: {
MessageDisposition: 'SaveOnly',
ConflictResolution: 'AutoResolve'
},
ItemChanges: [{
ItemChange: {
ItemId: {
attributes: {
Id: 'ATAUAGxsaW5kaGFyZHRAY2Jja2Mub3JnAEYAAAAAAI4eNWlSRatInnhuyOcnSIcHAPfFMAPpnn1HvotUdVcL/eIAAACqgs0AAImAA2RsA2BBpnhjzIcvvcEAANKuJAUAAA==',
ChangeKey: 'EwNAABYAAACJgANkbANgQaZ4Y8yHL73BAAFT2pmM'
}
},
Updates: {
SetItemField: {
FieldURI: {
attributes: {
FieldURI: "item:Categories"
},
Task: {
Categories: {
'String': ['Urgent!', 'Important!']
}
}
}
}
}
}
}]
}
and I’m getting:
C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1838 WSDL.prototype.findChildSchemaObject = function(parameterTypeObj, childName) { ^
RangeError: Maximum call stack size exceeded at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1838:48) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1887:20) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1887:20) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1887:20) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1881:19) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1887:20) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1887:20) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1881:19) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1887:20) at WSDL.findChildSchemaObject (C:\leankit-exchanger\node_modules\soap\lib\wsdl.js:1887:20)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 2
- Comments: 20 (16 by maintainers)
Commits related to this issue
- temp fix for nmarus/node-ews#17 — committed to nmarus/node-ews by nmarus 8 years ago
I can confirm that this issue will be fixed with tje PR vpulim/node-soap#855. I copied the contents of
wsdl.js
to my copy onnode_modules
folder and this error went away.