在业务流程中调用HL7发送管道(BTAHL72XSendPipeline)时出错 [英] Error calling HL7 send pipeline (BTAHL72XSendPipeline) in orchestration

查看:56
本文介绍了在业务流程中调用HL7发送管道(BTAHL72XSendPipeline)时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个HL7消息并通过MLLP端口发送它,但我希望HL7平面文件消息登录到数据库,所以我调用BTAHL72XSendPipeline并传递此消息。这会引发错误

I am constructing an HL7 message and sending it through MLLP port, however I want the HL7 flat file message to be logged into database so I am calling the BTAHL72XSendPipeline and passing this message. This throws an error

========

内部异常:执行管道失败"BTAHL72XPipelines.BTAHL72XSendPipeline"。错误详细信息:"缺少正文架构"。

       

异常类型:XLANGPipelineManagerException

Inner exception: There was a failure executing pipeline "BTAHL72XPipelines.BTAHL72XSendPipeline". Error details: "Body schema is missing".
       
Exception type: XLANGPipelineManagerException

===========

===========

然而这是相同的我通过MLLP端口发送的消息正常工作(因此这意味着按正确顺序创建了多部分消息类型)。只有在调用管道转换此消息时它才会失败。

However this is the same message that I am sending through MLLP port which works fine (so it means the multipart message type is created in proper order). only when calling the pipeline to convert this message it is failing.

这里是管道调用代码

========

InputMessages.Add(MDM);

Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline),InputMessages,  MDM_After);

InputMessages.Add(MDM);
Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline), InputMessages,  MDM_After);

InputMessages2.Add(ACK);

Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline),objACKInputMessageCollection,ACK_After);

InputMessages2.Add(ACK);
Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline), objACKInputMessageCollection, ACK_After);

HL7RawString = MDM_After;
$
ACKRawString = ACK_After;

HL7RawString = MDM_After;
ACKRawString = ACK_After;

=======

任何想法如何解决这个问题请帮助

any ideas how to solve this PLEASE HELP

提前致谢

surya

推荐答案

我正在构建HL7消息并通过MLLP端口发送它,但我希望HL7平面文件消息登录到数据库,所以我调用BTAHL72XSendPipeline并传递此消息。这会引发错误

I am constructing an HL7 message and sending it through MLLP port, however I want the HL7 flat file message to be logged into database so I am calling the BTAHL72XSendPipeline and passing this message. This throws an error

========

内部异常:执行管道失败"BTAHL72XPipelines.BTAHL72XSendPipeline"。错误详细信息:"缺少正文架构"。

       

异常类型:XLANGPipelineManagerException

Inner exception: There was a failure executing pipeline "BTAHL72XPipelines.BTAHL72XSendPipeline". Error details: "Body schema is missing".
       
Exception type: XLANGPipelineManagerException

===========

===========

然而这是相同的我通过MLLP端口发送的消息正常工作(因此这意味着按正确顺序创建了多部分消息类型)。只有在调用管道转换此消息时它才会失败。

However this is the same message that I am sending through MLLP port which works fine (so it means the multipart message type is created in proper order). only when calling the pipeline to convert this message it is failing.

这里是管道调用代码

========

InputMessages.Add(MDM);

Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline),InputMessages,  MDM_After);

InputMessages.Add(MDM);
Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline), InputMessages,  MDM_After);

InputMessages2.Add(ACK);

Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline),objACKInputMessageCollection,ACK_After);

InputMessages2.Add(ACK);
Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(BTAHL72XPipelines.BTAHL72XSendPipeline), objACKInputMessageCollection, ACK_After);

HL7RawString = MDM_After;
$
ACKRawString = ACK_After;

HL7RawString = MDM_After;
ACKRawString = ACK_After;

=======

如何解决此问题的任何想法请帮助

any ideas how to solve this PLEASE HELP

提前致谢

surya

 


这篇关于在业务流程中调用HL7发送管道(BTAHL72XSendPipeline)时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆