服务器之间的 Coldfusion 通信

发布于 2024-12-22 13:11:58 字数 195 浏览 2 评论 0原文

我需要从一个 Coldfusion 安装接收数据到另一个安装。 它们位于不同的服务器上。

现在我已经在远程服务器上创建了 Web 服务。 我使用 JSON 格式来接收数据,因为使用 wsdl 的开销令人难以置信(我有很多文本数据要接收)。

是否有其他可行的方式在 2 个 Coldfusion 服务器之间进行有效的通信?

莱昂蒂

I need to receive data from one Coldfusion installation to another.
They are on different servers.

Right now I have web services created on remote server.
I use JSON format for receiving data, because of incredible overhead of using wsdl(I have a lot of text data to receive).

Is there any other viable way of communicating between 2 Coldfusion servers efficiently?

Leonty

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

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

发布评论

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

评论(1

梦里泪两行 2024-12-29 13:11:58

您可以查看使用 WDDX 数据包。 ColdFusion 通过 CFWDDX 标签内置了 WDDX。您可以将 CF 的任何数据结构转换为 WDDX 包(本质上它将创建一个包含您的信息的 XML 格式的字符串)。然后,您可以通过多种方式将该字符串传输到另一台服务器,包括表单发布、Web 服务调用、FTP 文件传输等。接收服务器获得数据后,使用 CFWDDX 将其转换回本机数据结构。

You could look at using WDDX data packages. ColdFusion has WDDX built-in through the CFWDDX tag. You can convert any of CF's data structures to a WDDX package (essentially it will create an XML formatted string containing your information). You can then transfer that string to another server through a variety of means including a form post, web service call, FTP file transfer, etc. Once the receiving server has the data, use CFWDDX there to convert it back into a native data structure.

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