XML-RPC 对象映射

发布于 2024-08-14 15:44:03 字数 337 浏览 2 评论 0原文

最近我正在研究网络服务代理。我有 2 个网络服务代理。 UI 将调用代理 A 来创建一条记录。那么代理A将调用代理B来执行创建记录的实际任务(由于某种原因必须通过代理A )现在的问题是,当 UI 调用 Proxy A 时,Proxy A 会将 objectA 传递给 Proxy B createRecord 方法,该方法接受另一种不同的对象类型。以前遇到过这个问题的人可以给我一些建议。而不是将对象 A 转换为对象 B。

Recently I was working on web services proxy. I got 2 web services proxy. UI will call Proxy A to let say create a record. then what Proxy A will do is to call Proxy B to do the actual task which create the record (For some reason must go through Proxy A) now the problem is When UI call Proxy A, Proxy A will pass the objectA to Proxy B createRecord method which take in another different object type. Anyone came across this problem before can give me some suggestion. Instead of convert object A to object B.

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

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

发布评论

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

评论(1

只等公子 2024-08-21 15:44:03

您是否想过使用 xsl 将 ProxyA 请求转换为 ProxyB 请求?
http://www.w3.org/Style/XSL/

Did you thought to use xsl in order to transform you ProxyA request into ProxyB request?
http://www.w3.org/Style/XSL/

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