milewise/node-soap — Issue #22: Invoke method name for message type?
Author: DaveCausey
Created: 2012-02-22 22:46:15+00:00
State: open

I set out to get the client and server communicating with the most basic service I could come up with using 0.1.1 through npm. I couldn't close the loop until I discovered that the client name was using the method name for the body contents and the server was looking for the input message name. Just to get it to work, I changed Client._invoke from

message = self.wsdl.objectToRpcXML(name, arguments);

to

message = self.wsdl.objectToRpcXML(input.$name, arguments);

I have no idea if this is a bug or if there is something wrong with the way I'm trying to use it.

P.S. A working example would have been a great way to get started.