milewise/node-soap — Issue #11: Cannot call method 'listeners' of undefined
Author: 0x80
Created: 2011-12-04 18:25:33+00:00
State: open

I feel I've tried everything but trying to get a basic example server running I keep getting the error below. Can someone please check my example and see what's wrong?

I've tried creating the server with and without the wsdl. I'm guessing this should also be possible from looking at the soap.listen method, right?

Anyway here is my example code including wsdl:
http://dl.dropbox.com/u/8165817/mathserver_example.zip

Cheers

Server running at http://127.0.0.1:1337/

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot call method 'listeners' of undefined
at new (/me/node/node_modules/soap/lib/server.js:13:28)
at Object.listen (/me/node/node_modules/soap/lib/soap.js:57:12)
at Object. (/me/node/sketches/mathserver.js:64:6)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
at Function._load (module.js:293:12)
at Array. (module.js:421:10)
at EventEmitter._tickCallback (node.js:126:26)