惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
博客园_首页
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
小众软件
小众软件
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Announcements
Recent Announcements
M
MIT News - Artificial intelligence
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog

博客园 - 徐中

[BTS] WCF-SQL : You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels [BTS] BizTalk WCF-SQL Adapter 高级应用 [BTS] BizTalk EDI character set and separator settings [ThingWorx] Install Guideline [ThingWorx] Install PostgreSQL Issue [BTS] BizTalk EDI AS2 Error 1 [BTS] BizTalk With EF [BTS] Exception occurred when persisting state to the database [BTS] MSDTC [BTS] The value "" for the property InboundId is invalid [Android] Android Sutdio on Surface Pro 3 [RabbitMQ] AMQP close-reason, initiated by Library, code=541 [RabbitMQ] Connection failed [BTS] The adapter "SQL" raised an error message. Details "The Messaging Engine is shutting down. ". [BTS]The join order has been enforced because a local join hint is used.;Duplicate key was ignored.". [BTS] The external credentials in the SSO database are more recent. [BTS] SQL Adapter. New transaction cannot enlist in the specified transaction coordinator [BTS] WCF-SAP adapter [BTS] Deploy Command
[BTS]a non-serializable object type 'System.Xml.XmlNo...
徐中 · 2022-09-08 · via 博客园 - 徐中

How to use XmlNode in BizTalk?

I need use XmlNode to query a message in biztalk.  By default can't user xmlnode in vs.

Solution

// Get Xml Body 
varXmlData = MsgEventMessage;
varXPath = "/*[local-name()='Root']/*[local-name()='Data']/*[local-name()='XmlBody']";
varXmlNode = varXmlData.SelectSingleNode(varXPath);
varXmlString = varXmlNode.InnerXml;

posted on 2022-09-08 22:11  徐中  阅读(51)  评论(0)    收藏  举报