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

Submitting EDI to TN

  • 1.  Submitting EDI to TN

    Posted Thu October 06, 2011 07:12 PM

    Hi WmUsers,
    Is it mandatory to create Enterprise and Partner profiles to process through TN?

    I have to pick EDI messages through message queue and transform and map to custom document.
    As there can be 100’s of partners sending the EDI documents we cannot create a partner profile for each partner.
    So I did not create any partner profile but installed the EDI document type and created Processing rule with sender and receiver as ‘Any’.
    Submitted an EDI document to TN through wm.tn.doc.xml:routeXml When I check the transaction log it says ‘DONE W/ERRORS’. In the Activity log it says ‘Invalid Sender ID’ which makes sense as there is no profile defined for the sender.
    Is there a way to make TN ignore the senderID and process the document?

    Thanks,
    Suresh


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 2.  RE: Submitting EDI to TN

    Posted Thu October 06, 2011 07:50 PM

    If you dont’ have any sender…it will say unknown and rule not configured properly and it selects default rule…Please make sure doctype recognizes properly and custom rule associated to it and it’s above the default rule:

    Assuming you don’t care who the sender is:

    HTH,
    RMG


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 3.  RE: Submitting EDI to TN

    Posted Thu October 06, 2011 09:03 PM

    TN is able to identify the document type correctly and also executed the processing rule that I have defined. But still it says ‘DONE W/ERROR’ in the transaction log as there is no profile created for Sender.

    Here is the activity log:
    Document processed using EDITPA for Sender:Unknown , Receiver:Unknown
    Routing rule XXX selected
    Invalid Sender ID [EDIFTN.000010.000233]
    Document persisted.
    Status changed.
    Processing complete
    Service invoke: XXX

    So the processing rule is executed successfully but with status ‘DONE W/ERROR’.
    As I don’t care the sender I would like to see status ‘DONE’ instead of ‘DONE W/ERROR’

    Thanks,
    Suresh


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 4.  RE: Submitting EDI to TN

    Posted Thu October 06, 2011 09:40 PM

    What is the actual error for the processing status in the activity log?


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 5.  RE: Submitting EDI to TN

    Posted Thu October 06, 2011 10:03 PM

    Attached are the transaction and activity log.

    Quick question: When calling routeXml do I need to specify any senderID, receiverID in TN_params?
    p1.jpg


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Submitting EDI to TN

    Posted Fri October 07, 2011 12:20 AM

    It seems like partner profiles have to be created to get the processing status ‘DONE’.
    Please let me know if I am missing something.

    Thanks,
    Suresh


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Submitting EDI to TN

    Posted Fri October 07, 2011 02:52 PM

    No need to specify sender id in the routeXML…like you do in routeFlatfile

    Yes create the enterprise/partner profile and try:

    HTH,
    RMG


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 8.  RE: Submitting EDI to TN

    Posted Fri October 07, 2011 04:29 PM

    Tried creating Enterprise/partner profiles and as expected I see the processing status as ‘DONE’.
    I am now looking at the documentation to automatically create the partner profiles supplying the DUNS number. Please let me know if you already are aware of any services/scripts that creates the profiles.

    Appreciate your help!!!


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 9.  RE: Submitting EDI to TN

    Posted Fri October 07, 2011 05:53 PM

    I might suggest not using the enterprise profile but instead define one or more partner profiles to represent internal applications. This provides flexibility that using the enterprise profile does not.

    EDI is more of the driver for defining partner profiles. Tracking documents and sending functional acknowledgements is driven by knowing the trading partner. Without a defined profile one cannot track envelope sequence IDs, detect missing transaction sets or groups, easily control/manage partner-specific settings, etc. I agree that managing 100s of profiles within the TN console UI is not pleasant but they really should be there.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 10.  RE: Submitting EDI to TN

    Posted Fri October 07, 2011 06:13 PM

    OK great…

    You should browse into the WmTN Package services for auto creation of profiles/add externalID’s etc…for logic built:

    HTH,
    RMG


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 11.  RE: Submitting EDI to TN

    Posted Tue October 11, 2011 11:40 PM

    Reamon,
    Did you mean to NOT create Enterprise profile at all? or just referring to the requirement only?


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: Submitting EDI to TN

    Posted Wed October 12, 2011 03:19 AM

    I meant to not use the enterprise profile for document exchanges. I believe it must be defined (but it’s been a while so I may be wrong).

    Instead of using the enterprise profile, define 1 or more partner profiles to represent the enterprise and its apps.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 13.  RE: Submitting EDI to TN

    Posted Mon May 21, 2018 04:47 AM

    Hi How do you create Partner Profile here. I created partner profile but not sure under which external id i need to specify sender ID. and also could you please let me know what is DUNS number relation with Partner Profile.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 14.  RE: Submitting EDI to TN

    Posted Wed June 27, 2018 04:25 AM

    Hi Anusha,

    External ID as associate with Doctype while extracting sender ID and receiver ID for incoming Document.

    We have to associate external ID in doctype extraction while defining Doctype, based on external id and corresponding value it will recognize Sender/Receiver partner profile in TN.

    We have various build in external id like DUNS, user defined1, EAN, mutually defined etc, and also we can create custom external id also as per business requirement.

    Thanks,
    Arun


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB