BizTalk动态反汇编程序问题 - 正文部分为NULL


机器设备维修
2025-03-13 02:37:31 (11天前)
  1. 对于发送端口,但这不是必需的。我需要接收端口来选择文件并应用架构来反汇编。从他们的


管弦乐编曲
</跨度>
做映射,一些定制,等等。但是,从教程中看起来他们在主要的biztalk解决方案中创建了项目(即带有管道和管道的解决方案)

管弦乐编曲
</跨度>
)因此命名空间有

3 条回复
  1. 0# 浮华丶 | 2019-08-31 10-32





    • 您需要在类附近实现IProbeMessage
      我忘了在文章的代码中添加IProbeMessage。它现在更新。
      但它是示例源代码中的





    • Src1是架构的根节点名称。我在文章中提到消息类型是TargetNamespace #Root





    我建议下载示例代码



    我希望这能帮到您


  2. 1# 哦豁 | 2019-08-31 10-32



    在您链接的示例中,管道组件的探测方法是将文件名中的前4个字符推送到键入的消息中,然后将其传递到规则引擎中。它的4个字符与示例中的“SRC1”匹配。




    1. string srcFileName = pInMsg.Context.Read(“ReceivedFileName”, http://schemas.microsoft.com/BizTalk/2003/file-properties This link is external to TechNet Wiki. It will open in a new window. “).ToString();
      srcFileName = Path.GetFileName(srcFileName);

    2. //Substring the first four digits to take source code to use to call BRE API
      string customerCode = srcFileName.Substring(0, 4);

    3. //create an instance of the XML object
      XmlDocument xmlDoc = new XmlDocument();
      xmlDoc.LoadXml(string.Format(@”
      {0}

      “, customerCode));
      //retreive source code in case in our cache dictionary
      if (cachedSources.ContainsKey(customerCode))
      {
      messageType = cachedSources[customerCode];
      }
      else
      {
      TypedXmlDocument typedXmlDocument = new TypedXmlDocument(“TechNetWiki.SchemaResolver.Schemas.SchemaResolverBRE”, xmlDoc);
      Microsoft.RuleEngine.Policy policy = new Microsoft.RuleEngine.Policy(“SchemaResolverPolicy”);
      policy.Execute(typedXmlDocument);

    4. </code>


    因此匹配规则基于文件名的前4个字符。如果一个不匹配,则探测器返回false - 即未识别。



    最后一部分是将消息类型推送到返回的消息中 - 这个

    由。。。制成由。。。做成

    命名空间和带有#separator的根模式节点 - 所以#ssrc1是根节点。


登录 后才能参与评论