node.js - Nodejs: npm SOAP: unexpected tag in body, args -
"solved": bug in github package i used read-me of node-soap git have unexpected problem: see 'requestcontext'-tag bellow. var args = {readenterprisebyphoneme: {"phoneme":"a", "typeofenterprise": "epp", "activefilter":"true"}}; var url = 'http://kbopub-acc.economie.fgov.be/kbopubws030000/services/wskbopub?wsdl'; soap.createclient(url,function(err, client){ client.setsecurity(new soap.wssecurity('username', 'password', 'passworddigest')); client.addsoapheader({'id': 'c1576d0a-e762-40fe-abf9-ec3f2102650b', 'language': 'nl'}); console.log('log:'); console.log(client.describe().wskbopubservice.wskbopub.readenterprisebyphoneme); client.wskbopubservice.wskbopub.readenterprisebyphoneme(args, function(err, response){ if(err){ console.log('soap error!'); //console.log(err); }else{ console...