IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Problem with Inbound UNEDIFACT Document

  • 1.  Problem with Inbound UNEDIFACT Document

    Posted Fri May 07, 2004 05:49 PM

    I’m using TN 6.01 with EDI for TN. I have UNEDIFACT ORDERS that, when submitted to TN, recognizes the outer envelope but that’s it. The inner doc is found as “unknown”.

    I don’t have any issues w/X12. My default EDITPA is set to “Transaction” level processing.

    Thanks in advance,
    Jim Palmer


    #Integration-Server-and-ESB
    #webMethods
    #edi


  • 2.  RE: Problem with Inbound UNEDIFACT Document

    Posted Fri May 07, 2004 05:53 PM

    Have you checked the Activitylog or serverlogs traces.Can you tell us the exact error showing up there.

    Innerdoc you mean is UNH transaction level is not recognized?

    Thanks,


    #Integration-Server-and-ESB
    #edi
    #webMethods


  • 3.  RE: Problem with Inbound UNEDIFACT Document

    Posted Fri May 07, 2004 06:16 PM

    Server log has not errors.
    I’ve included the server log meesage below:

    2004-05-07 12:41:20 EDT [ISC.0063.0001D] Create 0ag0b700vhg5e79l0000006v
    2004-05-07 12:41:20 EDT [ISC.0063.0001D] Create 0ag0b700vhg5e7ak00000070
    2004-05-07 12:41:20 EDT [ISC.0063.0001D] Create 0ag0b700vhg5e7di00000071
    2004-05-07 12:41:20 EDT [ISU.0000.9999D] Inserting doc 0ag0b700vhg5e7di00000071 into datastore [TRNSERV.000016.000073]
    2004-05-07 12:41:20 EDT [ISC.0063.0001D] Create 0ag0b700vhg5e7fh00000072
    2004-05-07 12:41:20 EDT [ISU.0000.9999D] Inserting doc 0ag0b700vhg5e7fh00000072 into datastore [TRNSERV.000016.000073]
    2004-05-07 12:41:20 EDT [ISU.0000.9999D] Inserting doc 0ag0b700vhg5e7ak00000070 into datastore [TRNSERV.000016.000073]
    2004-05-07 12:41:20 EDT [ISC.0063.0001D] Create 0ag0b700vhg5e7nq00000073
    2004-05-07 12:41:24 EDT [ISC.0063.0001D] Create 0ag0b700vhg5ebb200000074
    2004-05-07 12:41:24 EDT [ISC.0063.0001D] Create 0ag0b700vhg5ebb200000075
    2004-05-07 12:41:33 EDT [ISC.0063.0001D] Create 0ag0b700vhg5ek3a00000076

    Yes, the UNH level is not recognized.

    Any thoughts?

    Thanks,
    Jim


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 4.  RE: Problem with Inbound UNEDIFACT Document

    Posted Fri May 07, 2004 06:44 PM

    I believe you have installed the UNEDIFACT ORDERS doctype? and please make sure that the doctype is not been disabled state.


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 5.  RE: Problem with Inbound UNEDIFACT Document

    Posted Fri May 07, 2004 07:10 PM

    Yes I have and yes it’s enabled.

    The documents I’m using are production documents from a WM 4.01 IS environment.


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Problem with Inbound UNEDIFACT Document

    Posted Fri May 07, 2004 07:52 PM

    Thanks for clarifying.

    Did you migrated the EDIFACT documents from 4.01 to 6.01 or did a fresh installation in 6.01?

    Before routing the document to TN, can you check the validation process if there any errors in UNH level?

    The “unknown” you are seeing only under the doctype or sender/receiver section too of TAnalysis?If so the defined processingrule is not success.

    Sorry if it won’t help.

    HTH,


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 7.  RE: Problem with Inbound UNEDIFACT Document

    Posted Tue May 11, 2004 11:38 PM

    Ok, I found the issue. The EDI version and release elements are reversed in our production document. When I switched them, it came back OK. I checked the UNEDIFACT guide and found webMethods handles it ok, our clients EDI is incorrect.

    I have come to another issue now. Trading networks accepts and recognizes the document, but when I run “bizdicToRecord” it comes back with the following error, “com.wm.ff.parse.ParseException: [FFP.0012.0004] Found no valid records”.

    I checked the inputs and they all look ok. The schema exists in the correct directory.

    Any ideas?

    Thanks in advance
    Jim Palmer


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: Problem with Inbound UNEDIFACT Document

    Posted Wed May 12, 2004 02:31 PM

    Use the convertToValues (WmEDI service) instead of bizdocToRecord for parsing the edi document.Extract the bizdoc/content(bytes) and map it to convertToValues provided with schema.

    HTH,


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Problem with Inbound UNEDIFACT Document

    Posted Wed May 12, 2004 06:23 PM

    That worked, thanks.

    Strange how it works for X12 but not UNEDIFACT.

    Thanks again,
    Jim Palmer


    #Integration-Server-and-ESB
    #webMethods
    #edi


  • 10.  RE: Problem with Inbound UNEDIFACT Document

    Posted Wed May 12, 2004 06:56 PM

    Sorry i don’t have any clue,there might be some differences the way it parses for EDI and normal XML messages.

    Anyway always its better to use the WmEDI services for edi parsing,validation etc…

    Regards,


    #Integration-Server-and-ESB
    #edi
    #webMethods