gpt4 book ai didi

ruby 网络服务

转载 作者:太空宇宙 更新时间:2023-11-03 17:19:40 24 4
gpt4 key购买 nike

我正在考虑使用 Ruby on Rails/MySQL 堆栈创建 Web 应用程序,我想知道围绕 Web 服务和 SOAP 有哪些功能可用。框架内是否有功能或是否需要扩展,如果是的话是什么?

最佳答案

Rails 选择了 REST over SOAP :

It’ll probably come as no surprise that Rails has picked a side in the SOAP vs REST debate. Unless you absolutely have to use SOAP for integration purposes, we strongly discourage you from doing so. As a naturally extension of that, we’ve pulled ActionWebService from the default bundle. It’s only a gem install actionwebservice away, but it sends an important message none the less.

不过,如果您必须使用 SOAP,那么总是有 soap4r , 但它只支持 SOAP 1.1。更好的选择可能是 WSF/Ruby .马克托马斯有一个 example controller帮助您启动和运行。

关于 ruby 网络服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/666610/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com