如何让 Node.js 与 SOAP 服务对话?
我似乎找不到任何这方面的例子。我在 github 上看到 Node 的列表,上面写着“Newspaper Club – 使用 node.js 将令人讨厌的 SOAP 接口包装到 InDesign Server。”,但我没有看到任何代码。
谢谢。
编辑:我猜我可以找到任何 javascript/SOAP 工具包并将其移植到 Node.js。有什么好的建议吗?
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 and port it to Node. Any suggestions on a good one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在 github 上找到了一个看起来不错的 Node.js SOAP 客户端
I've found what looks like a decent SOAP client for Node.js on github
在花了一些时间研究这个问题之后,大家似乎一致认为您不想使用 Node.js 来实现 SOAP。您想要做的是让 Node.js 监听事件并让您的非 Node 服务使用 Http 在 Node 上推送数据。
更新:我指出的是当时 Node 社区的共识。这不是我的观点,但这是我得到的最常见的回应,而且当时还没有稳定的 SOAP 客户端。我现在已经评论了答案。谢谢。
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.