开发者

How do you make Node.js talk to a SOAP service?

I can't seem to find any examples on this. I see a listing on github for Node that says "Newspaper Club – Uses node.js for wrapping a nasty SOAP interface to InDesign Server.", but I don't see any code.

Thank you.

EDIT: I'm guessing that I could just find any javascript/SOAP kit a开发者_如何转开发nd port it to Node. Any suggestions on a good one?


I've found what looks like a decent SOAP client for Node.js on github


After spending some time researching this, the consensus seems to be that you don't want to do SOAP with Node.js. What you want to do is make Node.js listen for events and make your non-Node services push data at Node using Http.

UPDATE: I was pointing out what the consensus of the Node community at the time. That was not an opinion that I shared, but that was the most common response that I got and there was no stable SOAP client at the time. I have now remarked the answer. Thank You.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜