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

AS2 and MDNs

  • 1.  AS2 and MDNs

    Posted Tue October 31, 2006 05:20 PM

    We are sending an AS2 transaction to a partner.
    They get the transaction I get the MDN only if requestMDN = synchronous.

    When TP sends us a transaction I get the payload and WM sends an MDN with user status IGNORED. TP says they DO NOT get the MDN.

    The MDNs and transaction are being sent to the EXACT same TP’s URL.

    Why would they not get the MDNs I am sending?
    Why can I only get a MDN if my requestMDN is synchronous?


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


  • 2.  RE: AS2 and MDNs

    Posted Tue October 31, 2006 07:05 PM

    Do you have the AS2MDNURL set in the ‘EDIINT’ extended field group for both profiles? This field is only used for async MDNs as the return address is not needed when the MDN reuses the original HTTP session.

    Tim


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


  • 3.  RE: AS2 and MDNs

    Posted Tue October 31, 2006 07:28 PM

    Also, what fixes/service packs for EDIINT have you applied? There is a fix that addresses a problem where an asynchronous MDN is generated before the original document is processed. I believe this could cause the MDN to be ignored because it would not be matched up to anything. Check Advantage for details on this.

    Tim


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


  • 4.  RE: AS2 and MDNs

    Posted Tue October 31, 2006 07:44 PM

    Is you partner requesting async or sync MDN??When MDN gets IGNORED it should be selecting Default rule and then obviously it wont get delivered to your partner.

    Pls make sure you have given the AS2MDNURL in the ExtendedFields group in the both partners profile.

    HTH,
    RMG


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


  • 5.  RE: AS2 and MDNs

    Posted Tue October 31, 2006 08:54 PM

    My partner requested async MDN

    You said “When MDN gets IGNORED it should be selecting Default rule…”

    Actually when the MDN is ignored my Document type is EDIINT MDN and the EDIINT Delivery URI; Message ID and Message Type is all present with the appropriate data.

    I have now set up the AS2MDNURL in the ExtendedFields group in the partners profile for our company and the asynchronous IS working!!!

    You are both good with your answers Thanks


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


  • 6.  RE: AS2 and MDNs

    Posted Tue October 31, 2006 10:19 PM

    Glad to hear it is working…

    Cheers(:


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


  • 7.  RE: AS2 and MDNs

    Posted Fri November 03, 2006 05:14 PM

    What is the user status of the MDN before the default rule sets it to ignored? You should be able to see that in the activity log.

    Tim


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


  • 8.  RE: AS2 and MDNs

    Posted Fri November 03, 2006 05:58 PM

    We have had issues with our EDIINT Processing Rules. Some things were changed and we BELIEVE we have them properly fixed them.

    From the documentation this is my understanding of the MDN OutBound process. The document comes in

    1. TN executes EDIINT ProcessMessage Processing Rule(PR)
    2. this invokes wm.EDIINT.rules:processMsg service
    3. it detects senders MDN requested
    4. Requested MDN? Yes! then it determines signed or unsigned generates MDN and sends it BACK to TN
    5. EDIINT send MDN Message PR is ran
    6. this invokes wm.EDIINT.rules:sendMDN
    7. synchronous and asynchronous is determined
      In our case it is asynchronous
    8. wm.EDIINT.rules:deliveryDocument sends MDN as a separate service.

    Is EDIINT suppose to automatically take care of the MDN and it’s delivery or do I have to create my OWN processing rules?
    Why is the automatically generated MDN choosing the default rule PR?
    Why is it ending with a process of IGNORED?
    Is this something I am doing or NOT doing?
    Does this seem like a system issue?

    I know it is a long post… AS2 implementation has not been easy for us.


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


  • 9.  RE: AS2 and MDNs

    Posted Fri November 03, 2006 07:11 PM

    TN should handle this, as long as the profiles are set up correctly. It’s very straightforward with synchronous MDNs, asynch is a little trickier.

    Because the MDN must also be status ‘SendMNDMsg’ when it comes in to trigger the correct rule.

    The default rule changes all documents it handles to ‘IGNORED’. That’s why I wondered what the status was before it got changed.

    If there’s any chance your EDI processing rules have been changed, see if you can do a clean install somewhere and compare them to make sure everything is correct. In particular, make sure that the User Statuses associated with each rule are correct.

    Tim


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


  • 10.  RE: AS2 and MDNs

    Posted Fri November 03, 2006 09:08 PM

    Tim

    As I typed out a line by line answer to your question I found the answer. When the Processing rule EDIINT Send MDN Message does NOT have a document type it chooses the default rule.

    You have been an AWESOME help to me

    Sincerely
    Cheryl


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


  • 11.  RE: AS2 and MDNs

    Posted Sat November 04, 2006 02:33 AM

    When I recieve a AS2 payload from my TP
    the MDN that is generated processes w/o error per TN Transaction log
    Yet the MDN never leaves the server for delivery to the TP

    I can send an AS2 payload to the exact SAME ip and it processes normally
    The MDN they want is asynchronous
    I DO have the AS2MDN extended field set to the correct IP

    It was suggested there may be a ServicePack and fix that needs to be installed. We hesitate to do this because it requires a java upgrade.

    Do you know of a workaround


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


  • 12.  RE: AS2 and MDNs

    Posted Sat November 04, 2006 03:23 AM

    For the MDN that is never delivered: what are the processing and user statuses, what rule was invoked to process it (see the Activity tab) and was there a delivery task created?

    The fix I mentioned earlier basically just implements a 30 second delay before attempting to deliver the MDN to ensure that the originating document has been processed. There would be a variety of ways of approximating this yourself, but then you would be reinventing the wheel, as it were. Upgrading the JVM for IS is not really that bad. If you search these forums there are a number of threads that discuss how to do this.

    Tim


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


  • 13.  RE: AS2 and MDNs

    Posted Sat November 04, 2006 03:41 AM

    I am so NEW to this

    The user status is IGNORED
    We invoke No rule to process it it goes to a Default Rule

    We tried using processing rule yesterday with user status ignored

    I believe your questions have given me a place to start. I assumed that WM sees it is an MDN and automatically knows how to process it with sender and reciever. Looking back I can see all the pieces may not be there I need to use EDIINT:send

    is that correct


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


  • 14.  RE: AS2 and MDNs

    Posted Wed April 09, 2008 04:44 AM

    I had this problem earlier and I found out the document type was null in the default EDIINT processing. I’m not sure if someone modified the processing rule before but I was the first one to configure AS2 in my company…

    Anyway, it works after I change the processing rule to correct document type.


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


  • 15.  RE: AS2 and MDNs

    Posted Mon April 21, 2008 07:55 PM

    From the above post, I’ve seen this happen before as well. We’ll define the document processing rule for an AS/2 customer, and then for some reason the document type specified in the processing rule become blank. After resetting it, things work fine. Not sure what caused the problem.

    _brett.


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