Mirth:动态确定调用哪个 SOAP 方法

发布于 2024-07-24 07:08:23 字数 514 浏览 4 评论 0原文

考虑一个带有 SOAP 发送者目标的 Mirth 通道。 WSDL 已成功加载,并且有多个可用方法。 每种方法将采用不同数量的参数。 示例方法:

  • AddPerson()
  • UpdatePerson()
  • DeletePerson()
  • MergePerson()
  • UnmergePerson()< /code>

给定一组 HL7 消息事件类型,即

  • A28 = 添加人员
  • A31 = 更新人员
  • A29 = 删除人员

问题:您如何在 Mirth 中设置一个目的地,以使变量的值确定哪个调用 SOAP 方法?

它不一定是 SOAP 发送者。 可以是任何类型。

Consider a Mirth channel with a Destination of a SOAP Sender. The WSDL is successfully loaded and has more than one method available. Each method would take a different number of arguments. Example methods:

  • AddPerson()
  • UpdatePerson()
  • DeletePerson()
  • MergePerson()
  • UnmergePerson()

Given the set of HL7 message event types, i.e.

  • A28 = Add Person
  • A31 = Update Person
  • A29 = Delete Person
  • etc

Question: How would you setup a Destination in Mirth to have the variable's value determine which SOAP Method is called?

It doesn't necessarily have to be a SOAP Sender. Could be any type.

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

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

发布评论

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

评论(1

写下不归期 2024-07-31 07:08:23

我不确定您是否可以动态选择方法,但您可以为每个 MessageType 设置一个目标,并使用过滤器来确保消息路由到正确的目标(方法)。

我将研究动态选择。 也许该方法可以通过 javascript 转换器对象获得。

Im not sure you can dynamically select the method on the fly, but you could setup a destination per MessageType and use filters to ensure that a message is routed to the correct destination (method).

I will look into the dynamic select. Perhaps the method is available via a javascript transformer object.

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