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
  • 1.  Submitting Multiple EDI Interchanges to wmtnreceive

    Posted Fri September 06, 2002 04:41 PM

    When you submit an Interchange to wm/tn/receive via FTP, TN seems to assume you are signing on to Integration server with an ID equal to the required external ID (in this case the partners sender ID). Otherwise the Interchange errors out in TN as an interchange sent by one partner posing as another. One way I have gotten around this is to use TNAdmin ID rather than a TNPartner ID when signin in to IS. I’m not sure this is a good option, is there another option?


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


  • 2.  RE: Submitting Multiple EDI Interchanges to wmtnreceive

    Posted Fri September 06, 2002 04:55 PM

    JON,
    This is a new security feature in TN 4.6.
    We have gotten around this issue for XML by writing a custom receive service (instead of using wm.tn/receive). Inside that service we read the data and call routeXML and pass on the node. This will bypass the restriction of using the userID as the required External ID for that partner and you get your data in TN.
    I am sure there may be a way to use similar techniques for EDI.


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


  • 3.  RE: Submitting Multiple EDI Interchanges to wmtnreceive

    Posted Fri September 06, 2002 05:34 PM

    Jon,

    We ran into the exact same issue a few weeks ago. Our infrastructure team was unwilling to grant us TNAdministrator access to FTP into IS. However they did allow us to run a scheduled service with Administrative rights. So we changed the integration to retrieve the EDI documents using FTP GET and simply scheduled the service to run every hour.

    Regards,
    Devan


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


  • 4.  RE: Submitting Multiple EDI Interchanges to wmtnreceive

    Posted Fri September 06, 2002 06:39 PM

    I’m assuming wm.EDIINT.receive works the same? Does anyone know this?


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


  • 5.  RE: Submitting Multiple EDI Interchanges to wmtnreceive

    Posted Mon September 09, 2002 03:11 AM

    Hello - WM/TN 4.6 stops the document unless the sender ID matches the B2B username. However, the one B2B marketsite can send XML documents behalf of multiple customers. So I’ve had to write a custom receive service.

    This is what we have implemented:

    1. Receive the document
    2. Call wm.tn.doc:recognize
    3. Call wm.tn.doc:getSenderReceiver
    4. Call wm.tn.profile:getExternalID (this returns the DUNS number of the document sender)
    5. Get the B2B username doing the actual posting.
    6. Check if this B2B username is allowed to post for this document sender DUNS number. (permitted B2B username stored as an extended attribute in the document sender’s profile)
    7. Call wm.tn.route:routeBizdoc
    8. Set HTTP response code appropriately. (optional)

    By ensuring the sender is a specific party, the security aspect of WM receive is maintained. This is important - if sidestepped, someone may post a document with arbitrary details. For eg: some authorised user can post an invoice from my company to a third company saying “Pay $1000000 to Panama Bank A/c #2134134”. This document would match a TN processing rule that sends invoices out (using our digital certificate!) rather than processing the document inwards.

    I hope to submit an article soon to WMusers with more detail about this.

    Hope this helps.
    Sonam


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


  • 6.  RE: Submitting Multiple EDI Interchanges to wmtnreceive

    Posted Wed November 06, 2002 03:24 AM

    > I hope to submit an article soon to WMusers with more detail about this.

    NB: The article is at:
    [url=“wmusers.com”]wmusers.com


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