问题描述
我需要在一次调用中用 ruby 实现一个肥皂服务器,并提供一个 WSDL.我的计划是自己创建 WSDL,然后在带有解析 xml 的端点的 Rails 服务器上提供它.
I need to implement a soap server in ruby for one call and also provide a WSDL. My plan is to create the WSDL myself and just provide that on a rails server with the endpoint parsing the xml.
这是一个有效的路径吗?我查看并找不到关于 ruby 中生成 WSDL 的soap服务器的很多其他信息.Action Web 服务可以,但最后一次更新是在 2005 年,而soap4r 独立服务器不生成WSDL.
Is that a valid path? I looked and couldn't find much other information regarding a soap server in ruby that generates a WSDL. Action web service does but was last updated in 2005, and soap4r standalone server doesn't generate a WSDL.
推荐答案
任何对这个问题的可行解决方案感兴趣的人都应该尝试一下 gem wash_out".我已经成功开发了一个 v0.8.2 的 SOAP 服务器
Anyone else who'd be interested in a working solution to this problem should give a shot to the gem "wash_out". I have successfully developed a SOAP server with v0.8.2
请参阅 gem 的 github 存储库 以获取源代码&文档
Please refer to the gem's github repository for source & documentation
这篇关于带有 WSDL 的 ruby SOAP 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!