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.  AS2 - custom process payload

    Posted Mon November 29, 2010 02:44 PM

    The client I’m working with has turned off the payload processing for incoming AS2 documents, so I need to process the payload via a TN rule for an inbound EDIINT doc. I tried calling the built-in ‘processMsg’ service for EDIINT via a TN rule but nothing seemed to happen as far as I was expecting it to extract the payload which is an EDI msg (997) and resubmit it to TN.

    Does anyone know how to process the incoming AS2 payload using built-in services to extract the payload and resubmit to TN? Or what steps are involved in processing manually if required (hopefully not).

    Thanks


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 2.  RE: AS2 - custom process payload

    Posted Mon November 29, 2010 09:13 PM

    the default EDIINT rule will trigger if the user status is: ProcessMsg and will call the processMsg service. and it will create X12 997 instance in TN. You should have rule for 997 to further process it.
    Do you see an EDIINT doc in TN when received a doc?
    is the client posting to wm.EDIINT:receive?


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 3.  RE: AS2 - custom process payload

    Posted Mon November 29, 2010 09:29 PM

    This is not happening, as I described the process payload config parameter is disabled, under the IS admin EDIINT screen. I cannot change this.


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: AS2 - custom process payload

    Posted Tue November 30, 2010 07:34 PM

    To anyone looking at this down the road I have figured it out. You have to create a processing rule that calls processMsg (which sends MDN and decrypts the payload), then call getContentPart for partName payload which grabs the content, in my case EDI doc. Then I call the recognize and routeBizdoc built in services and change the doc status along the way from PAYLOAD to DONE (or ERROR if needed).


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 5.  RE: AS2 - custom process payload

    Posted Thu December 02, 2010 09:16 PM

    If the client is not populating the correct content-type when they constructing the AS2 envelope, this may happen. check you ENIINT TN doc, see what’s the content-type there, if it’s not application/EDI-X12, TN won’t be able to recognize it.
    your solution is ok, but still headack to create.
    If your client can populate the content type properly, X12 doc will be automatically generated.
    like this one:

    Content-Type: application/EDI-X12
    Content-Disposition: Attachment; filename=“edi.txt”

    ISA00 00


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 6.  RE: AS2 - custom process payload

    Posted Thu December 02, 2010 09:21 PM

    I mentioned we turned off payload processing on our side so I have to do this…


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport