none
Processing 997 messages using custom schemas - BizTalk 2010 RRS feed

  • Question

  • Hi,

    I am investigating using  custom 997 schemas in a BizTalk 2010 EDI project.

    When I open up the MicrosoftEdiXSDTemplates.exe file, I can see a number of 997 schemas, for example:

    X12_00301_997.xsd.

    I currently have some BizTalk 2010 Parties and Agreements set up to process some messages for example:

    Send out 850 from BizTalk , then I expect a 997 message to come back as the ack into BizTalk

    Receive 855, 810 into BizTalk, then send out 997 Ack from BizTalk

    The agreement, that I have set up, has the 997 Expected  checked off on both agreement tabs.

    When BizTalk auto generates an outgoing 997 message for an incoming 855 or 810 message, it uses the pre-deployed schema ie:

    http://schemas.microsoft.com/Edi/X12#X12_997_Root

    Also, when an incoming Ack 997 messages for the 850's come into Biztalk, it uses the the same schema:

    http://schemas.microsoft.com/Edi/X12#X12_997_Root ->  for the incoming 997 messages.

    My questions are in BizTalk 2010:

    1) Can a custom schema like the one found in MicrosoftEdiXSDTemplates.exe  -> X12_00301_997.xsd, be used in place of the pre-deployed schema  -> http://schemas.microsoft.com/Edi/X12#X12_997_Root ?

    I cannot see in the agreement settings where to do this?

    2) From a number of previous posts using older versions of BizTalk, it appears, that the pre-deployed 997 schema ->

    http://schemas.microsoft.com/Edi/X12#X12_997_Root

    cannot be overriden with a custom schema. If this is still the case in Biztalk 2010, then what is the point of the 997 schemas in the MicrosoftEdiXSDTemplates.exe file?

    3) If the pre-deployed 997 schema ->

    http://schemas.microsoft.com/Edi/X12#X12_997_Root

    Cannot be overriden, and I need map a 997 message to another message, is it an acceptable process (or do others do this) and in a BizTalk project

    a) Make a reference to Microsoft.BizTalk.Edi.BaseArtifacts.

    b) Create a BizTalk Map.

    c) Use the Microsoft.BizTalk.Edi.BaseArtifacts.X12_997Schema as a source schema in a BizTalk Map. This schema as far as I can tell represents the pre-deployed one -> http://schemas.microsoft.com/Edi/X12#X12_997_Root

     

     Thanks.

    Tuesday, November 9, 2010 3:42 PM

Answers

  • Yes, That's correct refer to the Microsoft.BizTalk.Edi.BaseArtifacts.X12_997Schema
    Sathish - http://blog.tsathish.com
    • Marked as answer by Freddy King Thursday, November 18, 2010 10:22 PM
    Thursday, November 18, 2010 4:54 AM

All replies

  • Hi,

       In BizTalk server 2010 ACK generated version is fixed and it is 00401. You can see the schema for this version deployed in BizTalk EDI Application Schemas section. Currently there is no out of box functionality for generating any version of 997 .

     

    Thanks

    Gyan


    If this answers your question, please mark it as "Answered".
    Monday, November 15, 2010 3:18 AM
  • Freddy,

    Since in the 997 is generated as 4010, you can use a Map and Pipeline Component to change it to 3010 version.

    In the Send port Map the 4010 997 to 3010 997 Schema and update the Edi context property in the Pipeline Component to have 3010 values. 

     


    Sathish - http://blog.tsathish.com
    Tuesday, November 16, 2010 8:32 PM
  • Hi Sathish,

    Ok, sounds good, just to make sure I have it right ( I am pretty sure of this from Sathish's post and Gyan's post). 

    The 4010 997 Message you are referring to (ie. Map the 4010 997).  The schema for this is the pre-deployed one:

    http://schemas.microsoft.com/Edi/X12#X12_997_Root

    That can be found in the below assembly:

    Microsoft.BizTalk.Edi.BaseArtifacts.X12_997Schema

    Is my assumption correct?

    Thanks again.

     

     

     

    Wednesday, November 17, 2010 5:05 PM
  • Yes, That's correct refer to the Microsoft.BizTalk.Edi.BaseArtifacts.X12_997Schema
    Sathish - http://blog.tsathish.com
    • Marked as answer by Freddy King Thursday, November 18, 2010 10:22 PM
    Thursday, November 18, 2010 4:54 AM