柔性/空气 + Catalyst:让他们互相交谈的最佳方式是什么?

发布于 2024-07-11 07:00:06 字数 585 浏览 5 评论 0原文

让 Adob​​e Flex/AIR 与 perl Catalyst 进行通信的最佳方式是什么?

我们目前在 Catalyst 上使用 Catalyst::Plugin::XMLRPC侧和 Flex/AIR 侧的 as3-rpclib。 这工作得很好,但我宁愿把 as3-rpclib 排除在外,并使用 Flex 原生的方法。

据我所知,它的本机组件是 HTTPService、WebService (SOAP) 和 RemoteObject。

哪一种最适合 Catalyst 环境?

另外,你能给我指一个获胜者的“Hello World”例子吗? WSDL 让我头晕目眩。

What is the best way to get Adobe Flex/AIR to communicate with perl Catalyst?

We are currently using Catalyst::Plugin::XMLRPC on the Catalyst side and as3-rpclib on the Flex/AIR side. That works fine, but I'd rather take as3-rpclib out of the picture and use a method that is native to Flex.

From what I can tell, it's native compnonents are HTTPService, WebService (SOAP), and RemoteObject.

Which one is the best fit in the Catalyst environment?

Also, could you point me to a nice "Hello World" example of the winner? WSDLs make my head spin.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

太傻旳人生 2024-07-18 07:00:06

SOAP 和 Catalyst::Controller:: SOAP 看起来就是你想要的。 它基于 XML::Compile::SOAP,这是“好的”。 这些文档告诉您如何将 WSDL 变成 Catalyst 应用程序提供的服务。

(如果您想走另一条路,可以使用 Catalyst::Model::SOAP,但我认为这不是您想要的。)

如果 JSON 是一种选择,您可能会考虑这样做。 与 Catalyst::Controller::REST 或 Catalyst::View::JSON 一起使用非常容易。

SOAP and Catalyst::Controller::SOAP look to be what you want. It is based on XML::Compile::SOAP, which is "the good one". The docs tell you how to make a WSDL into a service that your Catalyst app provides.

(If you want to go the other way, there is Catalyst::Model::SOAP, but I don't think that's what you want.)

If JSON is an option, you might consider that. It is very easy to use with Catalyst::Controller::REST or Catalyst::View::JSON.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文