如何将BizTalk跟踪表中的十六进制数据转换为xml消息。 [英] How to convert hex data in BizTalk tracking tables to xml message.

查看:54
本文介绍了如何将BizTalk跟踪表中的十六进制数据转换为xml消息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我必须从跟踪表中提取xml消息,BizTalk正在存储一些Hex格式的消息,我必须将其转换为xml格式。在跟踪数据库中有一个视图  [BizTalkDTADB] .. btsv_Tracking_Parts,我必须使用  imgPart字段。是
有任何存储过程的sql本机函数可用于将其转换为可读的xml。 BizTalk如何将这些Hex列转换为可读文本。


问候,


Kamal

解决方案

检索跟踪消息内容的正确方法是通过WMI。


下面是一些关于如何执行此操作的示例代码:  BizTalk - 通过WMI提供商检索跟踪消息


您可以查看许多其他示例。


注意,它们实际上只是SQL二进制文件,但是内容不一定都在一个地方。 这就是你需要使用WMI的原因。


Hi,

I have to extract the xml messages from tracking tables, BizTalk is storing the messages some Hex format, I have to convert it to xml format. In tracking db there is a view [BizTalkDTADB]..btsv_Tracking_Parts, I have to use the imgPart field. Is there any sql native function of stored procedure available to convert it to readable xml. How BizTalk convert these Hex columns to readable text.

Regards,

Kamal

解决方案

The correct way to retrieve the Tracked Message content is through WMI.

Here's some sample code on how to do this: BizTalk - Retrieving Tracked messages through the WMI provider

There are many other examples out that you can look at.

Note, they're actually just SQL Binary files but the content isn't necessarily all in one place.  That's why you need to use WMI.


这篇关于如何将BizTalk跟踪表中的十六进制数据转换为xml消息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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