不算文章,随便动动笔,记下这两天试验的一些结果

  • BizTalk 在Visual Studio 里那个Add Sql Adapter Meta Data 功能很不好用,不如直接在BizTalk 建一个SQL Receive Location 然后直接Send 到File,再从Xml File 生成Schema。
  • 如果需要Disassemble 消息,MSDN上 有个不错的WalkThrough。几个关键点如下:
    • Envelope Schema 和 Document Schema Share same namespace。
    • 要为Envelope Schema 设置Body XPath。
    • <Any> Node in Envelope Schema 需要设置属性 namespace ##any and Process Context = Lax
    • Envelope Schema 在Visual Studio里 Validate Instance 是必然会失败的。
    • 不需要Import Document schema to Envelope Schema
    • 不需要创建Customize Pipeline, Building 的XmlReceive Pipeline 就够了
    • BizTalk 里的XmlReceive Pipeline 不需要做任何特殊设置。

 

顺便问问,有人玩这个吗?