none
Ok, now my schema parses and I have several Messages in an interchange, so i set PreserveInterchange to true ... And now ??? RRS feed

  • Question

  • I do get a very nice message....

    Below is a sample of this...... But how do i process this message in BizTalk, How can I Map this ? To map stuff you would probably need a schema with EdiFactInterchange and Edifact Service Schema and other stuff.....

    But if i Create this schema and deploy it wouldn't I deply it double ???? I really don't know how to cope with this message. Anybody has a suggestion ?


    <ins0:EdifactInterchangeXml DelimiterSetSerializedData="39:13:10:43:58:63:42:46" xmlns:ins0="http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006/InterchangeXML">
      <ns0:UNB xmlns:ns0="http://schemas.microsoft.com/Edi/EdifactServiceSchema">
        <UNB1>
          <UNB1.1>UNOA</UNB1.1>
          <UNB1.2>2</UNB1.2>
        </UNB1>
        <UNB2>
          <UNB2.1>293962</UNB2.1>
          <UNB2.2>ZZZ</UNB2.2>
        </UNB2>
        <UNB3>
          <UNB3.1>10</UNB3.1>
          <UNB3.2>ZZZ</UNB3.2>
        </UNB3>
        <UNB4>
          <UNB4.1>071212</UNB4.1>
          <UNB4.2>1600</UNB4.2>
        </UNB4>
        <UNB5>06060716005907</UNB5>
        <UNB7>FH 02.01</UNB7>
        <UNB9>0</UNB9>
        <UNB11>0</UNB11>
      </ns0:UNB>
      <TransactionSetGroup>
        <TransactionSet DocType="http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006#EFACT_002005_FLOWAV">
          <ns0:EFACT_002005_FLOWAV xmlns:ns0="http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006">
            <UNH>
              <UNH1>XX2010</UNH1>
              <UNH2>
                <UNH2.1>FLOWAV</UNH2.1>
                <UNH2.2>002</UNH2.2>
                <UNH2.3>005</UNH2.3>
                <UNH2.4>EF</UNH2.4>
              </UNH2>
            </UNH>
            <ns0:BGM>
              <ns0:C002>
                <C00201>103</C00201>
              </ns0:C002>
              <BGM03>9</BGM03>
            </ns0:BGM>
            <ns0:PTYLoop1>
              <ns0:PTY>
                <PTY1>XX2010</PTY1>
                <PTY2>A</PTY2>
              </ns0:PTY>
              <ns0:NAD_1>
                <NAD1_1>DO</NAD1_1>
                <ns0:C082_1>
                  <C082_11>02</C082_11>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>MF</NAD1_1>
                <ns0:C082_1>
                  <C082_11>293962</C082_11>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>BY</NAD1_1>
                <ns0:C082_1>
                  <C082_11>90924</C082_11>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>DP</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231140429</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>CA</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231196402</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>HC</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231141891</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>CH</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8713782539959</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>DS</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231140375</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:FTX_2>
                <FTX_21>ABM</FTX_21>
                <ns0:C107_2>
                  <C107_21>5</C107_21>
                </ns0:C107_2>
              </ns0:FTX_2>
              <ns0:DTM_3>
                <ns0:C507_3>
                  <C507_31>97</C507_31>
                  <C507_32>20071212</C507_32>
                  <C507_33>102</C507_33>
                </ns0:C507_3>
              </ns0:DTM_3>
              <ns0:DTM_3>
                <ns0:C507_3>
                  <C507_31>50</C507_31>
                  <C507_32>20071211</C507_32>
                  <C507_33>102</C507_33>
                </ns0:C507_3>
              </ns0:DTM_3>
              <ns0:DTM_3>
                <ns0:C507_3>
                  <C507_31>50</C507_31>
                  <C507_32>0000</C507_32>
                  <C507_33>401</C507_33>
                </ns0:C507_3>
              </ns0:DTM_3>
              <ns0:GDS_4>
                <ns0:C212_4>
                  <C212_41>3048</C212_41>
                </ns0:C212_4>
              </ns0:GDS_4>
              <ns0:IMD_6>
                <IMD_62>S20</IMD_62>
                <ns0:C273_6>
                  <C273_61>060</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:IMD_6>
                <IMD_62>S05</IMD_62>
                <ns0:C273_6>
                  <C273_61>011</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:IMD_6>
                <IMD_62>K01</IMD_62>
                <ns0:C273_6>
                  <C273_61>163</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:IMD_6>
                <IMD_62>P01</IMD_62>
                <ns0:C273_6>
                  <C273_61>2</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:PAC_7>
                <ns0:C202_7>
                  <C202_71>566</C202_71>
                </ns0:C202_7>
              </ns0:PAC_7>
              <ns0:QTY_8>
                <ns0:C186_7>
                  <C186_71>52</C186_71>
                  <C186_72>100</C186_72>
                </ns0:C186_7>
              </ns0:QTY_8>
              <ns0:RFF_8>
                <ns0:C506_81>
                  <C506_81>ACL</C506_81>
                  <C506_82>1234</C506_82>
                </ns0:C506_81>
              </ns0:RFF_8>
              <ns0:RFF_8>
                <ns0:C506_81>
                  <C506_81>IL</C506_81>
                  <C506_82>123456</C506_82>
                </ns0:C506_81>
              </ns0:RFF_8>
              <ns0:RFF_8>
                <ns0:C506_81>
                  <C506_81>ON</C506_81>
                  <C506_82>1234</C506_82>
                  <C506_83>12</C506_83>
                  <C506_48>1</C506_48>
                </ns0:C506_81>
              </ns0:RFF_8>
              <ns0:PRI_9>
                <ns0:C509_9>
                  <C509_91>INV</C509_91>
                  <C509_92>1005</C509_92>
                </ns0:C509_9>
              </ns0:PRI_9>
              <ns0:SGPLoop1>
                <ns0:SGP_10>
                  <ns0:C237_0>
                    <C237_01>0</C237_01>
                  </ns0:C237_0>
                  <SGP02>27</SGP02>
                </ns0:SGP_10>
              </ns0:SGPLoop1>
            </ns0:PTYLoop1>
            <ns0:PTYLoop1>
              <ns0:PTY>
                <PTY1>XX2010</PTY1>
                <PTY2>B</PTY2>
              </ns0:PTY>
              <ns0:NAD_1>
                <NAD1_1>DO</NAD1_1>
                <ns0:C082_1>
                  <C082_11>02</C082_11>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>MF</NAD1_1>
                <ns0:C082_1>
                  <C082_11>293962</C082_11>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>BY</NAD1_1>
                <ns0:C082_1>
                  <C082_11>90924</C082_11>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>DP</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231140429</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>CA</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231196402</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>HC</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231141891</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>CH</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8713782539959</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:NAD_1>
                <NAD1_1>DS</NAD1_1>
                <ns0:C082_1>
                  <C082_11>8714231140375</C082_11>
                  <C082_12>160</C082_12>
                  <C082_13>9</C082_13>
                </ns0:C082_1>
              </ns0:NAD_1>
              <ns0:FTX_2>
                <FTX_21>ABM</FTX_21>
                <ns0:C107_2>
                  <C107_21>5</C107_21>
                </ns0:C107_2>
              </ns0:FTX_2>
              <ns0:DTM_3>
                <ns0:C507_3>
                  <C507_31>97</C507_31>
                  <C507_32>20071212</C507_32>
                  <C507_33>102</C507_33>
                </ns0:C507_3>
              </ns0:DTM_3>
              <ns0:DTM_3>
                <ns0:C507_3>
                  <C507_31>50</C507_31>
                  <C507_32>20071211</C507_32>
                  <C507_33>102</C507_33>
                </ns0:C507_3>
              </ns0:DTM_3>
              <ns0:DTM_3>
                <ns0:C507_3>
                  <C507_31>50</C507_31>
                  <C507_32>0000</C507_32>
                  <C507_33>401</C507_33>
                </ns0:C507_3>
              </ns0:DTM_3>
              <ns0:GDS_4>
                <ns0:C212_4>
                  <C212_41>3048</C212_41>
                </ns0:C212_4>
              </ns0:GDS_4>
              <ns0:IMD_6>
                <IMD_62>S20</IMD_62>
                <ns0:C273_6>
                  <C273_61>050</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:IMD_6>
                <IMD_62>S05</IMD_62>
                <ns0:C273_6>
                  <C273_61>011</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:IMD_6>
                <IMD_62>K01</IMD_62>
                <ns0:C273_6>
                  <C273_61>163</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:IMD_6>
                <IMD_62>P01</IMD_62>
                <ns0:C273_6>
                  <C273_61>2</C273_61>
                </ns0:C273_6>
              </ns0:IMD_6>
              <ns0:PAC_7>
                <ns0:C202_7>
                  <C202_71>566</C202_71>
                </ns0:C202_7>
              </ns0:PAC_7>
              <ns0:QTY_8>
                <ns0:C186_7>
                  <C186_71>52</C186_71>
                  <C186_72>100</C186_72>
                </ns0:C186_7>
              </ns0:QTY_8>
              <ns0:RFF_8>
                <ns0:C506_81>
                  <C506_81>ACL</C506_81>
                  <C506_82>5678</C506_82>
                </ns0:C506_81>
              </ns0:RFF_8>
              <ns0:RFF_8>
                <ns0:C506_81>
                  <C506_81>IL</C506_81>
                  <C506_82>12345</C506_82>
                </ns0:C506_81>
              </ns0:RFF_8>
              <ns0:RFF_8>
                <ns0:C506_81>
                  <C506_81>ON</C506_81>
                  <C506_82>1234</C506_82>
                  <C506_83>13</C506_83>
                  <C506_48>1</C506_48>
                </ns0:C506_81>
              </ns0:RFF_8>
              <ns0:PRI_9>
                <ns0:C509_9>
                  <C509_91>INV</C509_91>
                  <C509_92>900</C509_92>
                </ns0:C509_9>
              </ns0:PRI_9>
              <ns0:SGPLoop1>
                <ns0:SGP_10>
                  <ns0:C237_0>
                    <C237_01>0</C237_01>
                  </ns0:C237_0>
                  <SGP02>27</SGP02>
                </ns0:SGP_10>
              </ns0:SGPLoop1>
            </ns0:PTYLoop1>
            <ns0:EQDLoop1>
              <ns0:EQD>
                <EQD_A1>BX</EQD_A1>
                <ns0:C224_A>
                  <C22401>1</C22401>
                </ns0:C224_A>
              </ns0:EQD>
              <ns0:EQN_A>
                <ns0:C523_A>
                  <C523_A1>2</C523_A1>
                  <C523_A2>19</C523_A2>
                </ns0:C523_A>
              </ns0:EQN_A>
            </ns0:EQDLoop1>
            <UNT>
              <UNT1>55</UNT1>
              <UNT2>XX2010</UNT2>
            </UNT>
          </ns0:EFACT_002005_FLOWAV>
        </TransactionSet>
      </TransactionSetGroup>
      <ns0:UNZ xmlns:ns0="http://schemas.microsoft.com/Edi/EdifactServiceSchema">
        <UNZ1>1</UNZ1>
        <UNZ2>06060716005907</UNZ2>
      </ns0:UNZ>
    </ins0:EdifactInterchangeXml>

    Well0549 Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread
    Tuesday, December 15, 2009 2:27 PM

Answers

  • Ok,

    For sure i have deployed only the EFACT_002005_FLOWAV without the UNB and UNG etc stuff.
    Cause it parses beautifully.

    But how can I process this message. My guess is that every interchange with several messages inside wil have the same namespace....

    I am interested in having a orchestration (designed to handle the FLOWAV_002005 message) subscribe to all the FLOWAV interchanges.

    Or how would I Map this message ? I can't think of a way of doing it other than xlang debatching.....

    what is the best way to deal with these messages that have a very generich envelope.....

     


    Well0549 Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread
    • Marked as answer by Well0549 Monday, January 4, 2010 1:05 PM
    Wednesday, December 16, 2009 2:51 PM

All replies

  • Hi,
        Deploy the schema only for payload that is EFACT_002005_FLOWAV. You should not make any definition related to UNB,UNG in schema that is taken care by Biztalk's already deployed schemas.


    Thanks
    Gyan

    If this answers your question, please mark it as "Answered".
    Tuesday, December 15, 2009 4:28 PM
  • Ok,

    For sure i have deployed only the EFACT_002005_FLOWAV without the UNB and UNG etc stuff.
    Cause it parses beautifully.

    But how can I process this message. My guess is that every interchange with several messages inside wil have the same namespace....

    I am interested in having a orchestration (designed to handle the FLOWAV_002005 message) subscribe to all the FLOWAV interchanges.

    Or how would I Map this message ? I can't think of a way of doing it other than xlang debatching.....

    what is the best way to deal with these messages that have a very generich envelope.....

     


    Well0549 Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread
    • Marked as answer by Well0549 Monday, January 4, 2010 1:05 PM
    Wednesday, December 16, 2009 2:51 PM