none
Schema: Duplicate TargetNameSpace, Duplicate MessageType. issue RRS feed

  • Question

  • Hi EveryOne,

    I have a schema from vendor. And message type is http://vendor.com/message#Message. We are sending these messages to vendor via BizTalk. 

    Today I received an updated schema from vendor. And message type is http://vendor.com/message#Message.

    So, you got the issue.

    Duplicate TargetNameSpace and Duplicate MessageType.  There is little chance of asking the vendor to introduce version no in namespace, as their system won't work.

    I am thinking of this solution:

    1) To have a modified version of the schema in BizTalk (with namspace changed to http://vendor.com/message/v2.0). 

    2) And planning to switch the namespace to http://vendor.com/message in the SendPort pipeline.

    @BizTalk Gurus:

    Is there any alternative better solution ? 

    Do you see any problem with the above approach ?

    thanks

    prabath


    Tuesday, May 19, 2015 7:14 AM

Answers

  • You're saying that this is an updated schema?

    If so, you should version the updated schema into the current project and assign this a higher version.. say assuming you had a project where you had these schemas with a version 1.0.0.0. In the same project, you now insert the updated schema, change the version to 1.1.0.0 and gac/import resource into BizTalk. Existing solution will use the later version and your problem will be solved (if you've built you projects where for each such referenced dll you've selected "Specific Version" as false).

    Regards.

    • Marked as answer by Angie Xu Thursday, May 28, 2015 2:10 AM
    Tuesday, May 19, 2015 9:09 AM