webMethods

 View Only
Expand all | Collapse all

Unexpected Document Type Version Mismatch

  • 1.  Unexpected Document Type Version Mismatch

    Posted Fri October 27, 2023 10:21 AM

    Hello everyone,

    I’m using webMethods version 10.3 and facing an unusual issue.

    I’m submitting a document from the designer, using the service wm.tn.doc.xml:routeXml and when I give this string as a node input:
    UNA:+.?
    UNB+UNOC:3+1111:14+2222:14+231027:1409+xxx++++1
    UNH+0111+CONTRL:S:2:UN
    UCI+P123+2222:14+1111:14+7
    UNT+3+9999999999999999999
    UNZ+1+xxx

    TN recognizes the document and successfully process.

    But when I change CONTRL:S:2:UN to CONTRL:4:2:UN, it doesn’t recognize the document. When I check the content tab, I see that the type is CONTRL as expected but the version is “42”. Do you know the reason for that and how to fix this problem?

    Thank you.


    #Service-Designer
    #B2B-Integration
    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Unexpected Document Type Version Mismatch

    Posted Fri October 27, 2023 10:42 AM

    What version of EDIFACT is being used? What is prompting the change of the subfield from S to 4? It is possible that 4 is not supported for the doc version you’re using. Is this a document you’re sending to a partner or receiving?


    #webMethods
    #B2B-Integration
    #Service-Designer
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: Unexpected Document Type Version Mismatch

    Posted Wed November 01, 2023 02:46 AM

    Hi Reamon,

    Contrl version 2.2 is the one that we want to use but I can only choose Contrl version 2 from TN, when adding a new document type. And it accepts the documents where the first character is a letter after the “Contrl” word. That’s why I gave the example with “S” and “4”. It recognizes CONTRL:S:2 and says that the version is 2, but when I submit CONTRL:2:2, it says that document is unknown and the version is 22. If I submit CONTRL:4:2, again, it says that document is unknown and the version is 42.

    And the submitted document is what we want to send to a partner.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods
    #Service-Designer


  • 4.  RE: Unexpected Document Type Version Mismatch

    Posted Wed November 01, 2023 10:44 AM

    You may need to import/install the EDIFACT version/release to TN that you want to use. It has been well over a decade since I’ve done EDI work but I recall that it is relatively straight-forward to make additional versions and messages available. Perhaps that is what is needed here, if the recipient is indicating they must receive that particular version of the CONTRL message.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration
    #Service-Designer


  • 5.  RE: Unexpected Document Type Version Mismatch

    Posted Fri November 03, 2023 02:53 AM

    Hi Reamon,

    On TN, from the Document Types tab, I click on the Add Document Types button but for CONTRL, only version 2 appears. Is there another way to import an edifact version?

    Many thanks in advance.


    #Integration-Server-and-ESB
    #Service-Designer
    #B2B-Integration
    #webMethods
    #Flow-and-Java-services


  • 6.  RE: Unexpected Document Type Version Mismatch

    Posted Fri November 03, 2023 10:34 AM


  • 7.  RE: Unexpected Document Type Version Mismatch

    Posted Mon November 06, 2023 06:11 AM

    Hi Engin,

    Yes.
    Currently I’m trying to figure out if there is another way to import an edifact version. Do you have any knowledge about it?

    Many thanks in advance.


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration
    #Service-Designer
    #Flow-and-Java-services


  • 8.  RE: Unexpected Document Type Version Mismatch

    Posted Mon November 06, 2023 10:34 AM

    Unfortunately, I don’t have any experience with TN. This kind of odd behaviors are usually fixed by installing latest fixes. So I thought it might related to having different versions on the environments. Since it is a very old version, I doubt you are the first person who experienced this issue for the first time. It should be fixed by now so I would install the latest fixes and check if it fixes your problem.


    #Service-Designer
    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #B2B-Integration
    #webMethods


  • 9.  RE: Unexpected Document Type Version Mismatch

    Posted Mon November 06, 2023 05:40 PM

    https://documentation.softwareag.com/webmethods/adapters_estandards/eStandards/EDI/EDI_9-12/9-12_webMethods_Module_for%20EDI_webhelp/#page/eeo-webhelp%2Fto-configuring_edi_module_36.html

    X12 has SEF files available to add other versions to TN. I think EDIFACT has SEFs or something similar as well. SAG support may be able to provide guidance here. It will be for an entire set of messages for a version, not just select messages. Once in TN, then you can select the messages you need to handle.

    Regarding @engin_arlak thought that this may be addressed via fix – may be right but I’m thinking this is doc version thing.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #B2B-Integration
    #Service-Designer