none
Cannot locate document specification because multiple schemas matched the message type "http://schemas.microsoft.com/BizTalk/EDI/X12/2006#X12_00401_850" when more than two EDI Application is deployed RRS feed

  • Question

  • hi all

    i have an issue which is i am not able to solve,initially i created microsofts tutorial called Inbound_EDI and it worked fine when i deployed but than i created one more apps which had same configuration and it was also an EDI apps,but than what happened was when i put PO.txt file which is EDIFACT file in 'IN' folder it output one file in 997ACK folder successfully but it is not outputting any files under Party folder,it is giving error "Cannot locate document specification because multiple schemas matched the message type "http://schemas.microsoft.com/BizTalk/EDI/X12/2006#X12_00401_850"

    and if i delete one of the deployed application from admin panel it again works like it was working

     

    help is needed why it is happening so

    thxs

     

    Tuesday, April 13, 2010 12:51 PM

Answers

  • What I do is I deploy the PO schema (in its own application) to the BizTalk EDI Application, and then from both projects refer to the PO Schema project, and then I can either deploy the two projects to the same application, or different, it doesn't matter, as long as it references the app that the PO Schema project is deployed to.
    Eric Stott [http://blog.biztalk-info.com] - Mark as Answer if this reply does.
    Wednesday, April 14, 2010 6:16 AM
  • Hi

    Yes this issue will still occur even though you are deploying the schemas in different application. You have two option

    1. Refer the existing application

    2. Create a schema with different MessageType by changing Namespace or RootNode name

    Nikhil

    Wednesday, April 14, 2010 11:57 AM

All replies

  • Hi,

        The schema should be deployed in the Application where your receive port exist. Or you should have references of Apllication having schema deployed to your application. And also a restart needed after deploying schema.

    Please check above things mentioned.

     

     

    Thanks

    Gyan


    If this answers your question, please mark it as "Answered".
    Tuesday, April 13, 2010 1:13 PM
  • Hi

    You cannot have two schemas with the same MessageType as biztalk will not know with which schema the message has to be parsed. Either you need to change the namespace of the schema or the root node. For your scenario you can change the target namespace of the schema. Make sure that the MessageType is unique. This not only happens with EDI schemas but also with XML or FF schemas.

    Nikhil

    Tuesday, April 13, 2010 2:42 PM
  • hi all

    but my two application are deplyed differently,i mean both are speprate still this issue can occure?

     

    Wednesday, April 14, 2010 5:23 AM
  • What I do is I deploy the PO schema (in its own application) to the BizTalk EDI Application, and then from both projects refer to the PO Schema project, and then I can either deploy the two projects to the same application, or different, it doesn't matter, as long as it references the app that the PO Schema project is deployed to.
    Eric Stott [http://blog.biztalk-info.com] - Mark as Answer if this reply does.
    Wednesday, April 14, 2010 6:16 AM
  • Hi

    Yes this issue will still occur even though you are deploying the schemas in different application. You have two option

    1. Refer the existing application

    2. Create a schema with different MessageType by changing Namespace or RootNode name

    Nikhil

    Wednesday, April 14, 2010 11:57 AM