Detect Multiple Interchanges = False – is there a schema to use the output?

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Detect Multiple Interchanges = False – is there a schema to use the output?

Viewing 0 reply threads
  • Author
    Posts
    • #23042

      I was able to build a pipeline to parse an X12 Batch into a single instance of the entire interchnage by setting the property Detect Multiple Interchanges = False.

      Now I want to subscribe to the message, but there is no corresponding schema to allow me to recognize the document with the XML receive pipeline.

      Does anyone know where to find or how to create the schema? I’ll past some of the message below so you can get an idea of what I am talking about.

      I was expecting that because the message was written by Biztalk, that there should be a corresponding schema available. but If I follow the root node reference, the ins0:X12InterchangeXml node is in the namespace http://schemas.microsoft.com/BizTalk/EDI/X12/2006/InterchangeXML, however what is registered in Biztalk schemas for that root node is in namespace http://schemas.microsoft.com/Edi/X12_BatchSchema.

      The goal is to receive the XML in an orchestration. Even if bringing it in as System.XML, it still needs a corresponding schema to be recognized by the XMLReceive pipeline.

      <ins0:X12InterchangeXml DelimiterSetSerializedData=”13:10:-1:42:62:-1:-1:-1″ xmlns:ins0=”http://schemas.microsoft.com/BizTalk/EDI/X12/2006/InterchangeXML”&gt;
          <ns0:ISA xmlns:ns0=”http://schemas.microsoft.com/Edi/X12ServiceSchema”&gt;
              <ISA01>00</ISA01>
              <ISA02>          </ISA02>
              <ISA03>00</ISA03>
              <ISA04>          </ISA04>
              <ISA05>ZZ</ISA05>
              <ISA06>SOMEONE        </ISA06>
              <ISA07>09</ISA07>
              <ISA08>SOMEONE ELSE   </ISA08>
              <ISA09>090709</ISA09>
              <ISA10>1422</ISA10>
              <ISA11>U</ISA11>
              <ISA12>00401</ISA12>
              <ISA13>000000001</ISA13>
              <ISA14>0</ISA14>
              <ISA15>T</ISA15>
              <ISA16>&gt;</ISA16>
          </ns0:ISA>
          <FunctionalGroup DocType=”http://schemas.microsoft.com/BizTalk/EDI/X12/2006#X12_00401_820″&gt;
              <ns0:GS xmlns:ns0=”http://schemas.microsoft.com/Edi/X12ServiceSchema”&gt;
                  <GS01>RA</GS01>
                  <GS02>SOMEONE</GS02>
                  <GS03>SOMEONE ELSE</GS03>
                  <GS04>20090709</GS04>
                  <GS05>1422</GS05>
                  <GS06>1</GS06>
                  <GS07>X</GS07>
                  <GS08>004010</GS08>
              </ns0:GS>
              <TransactionSet DocType=”http://schemas.microsoft.com/BizTalk/EDI/X12/2006#X12_00401_820″&gt;
                  <ns0:X12_00401_820 xmlns:ns0=”http://schemas.microsoft.com/BizTalk/EDI/X12/2006″&gt;
                      <ST>
                          <ST01>820</ST01>
                          <ST02>000000001</ST02>
                      </ST>
                      <ns0:BPR>
                          <BPR01>X</BPR01>
                          <BPR02>6610.9</BPR02>
                          …

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.