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

webmethods send mdn in html not in text/plain - for aplication/octet-stream received messages

  • 1.  webmethods send mdn in html not in text/plain - for aplication/octet-stream received messages

    Posted Wed March 23, 2016 12:54 PM

    Hello,

    I am really stuck and I can not find solution to this problem:

    we have two partnars:
    first partnar:
    send messages with
    content-type:application/edifact and application/txt
    the mdn is generated and they do receive a good mdn in text/plain

    the second partnar:
    send messages with
    content-type:application/octet-stream
    the mdn is generated (in webethods) and they do receive a mdn in html format.

    and they can’t change the content-type because of their system limitations

    in webMethods and logs the MDN is well generated and received .

    the “byteout” of ediint:sendMDN is well formated .

    the partner still receiving the MDN in html format : see the attached file for received MDN ( mndok.html )

    is there any way to solve that kind of problem

    thanks in advance
    mdnok.html (2.42 KB)


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


  • 2.  RE: webmethods send mdn in html not in text/plain - for aplication/octet-stream received messages

    Posted Thu March 24, 2016 04:29 PM

    Hello

    We solved the problem finaly:

    Solution:

    register the content handler with EDIINT module using the service wm.EDIINT.util:addContentType.

    thanks in advance


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


  • 3.  RE: webmethods send mdn in html not in text/plain - for aplication/octet-stream received messages

    Posted Sat March 26, 2016 09:16 AM

    Glad to hear, thanks for updating the thread with resolution.

    Thanks,


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


  • 4.  RE: webmethods send mdn in html not in text/plain - for aplication/octet-stream received messages

    Posted Wed May 17, 2017 05:00 AM

    Can anyone explain the configuration setup to avoid taking a valid MDN response and wrapping it in a text/html “report” of the MDN response as shown in this post which is an invalid AS2 response format?

    I know very little about webMethods but seems that somehow the default routing of the MDN response sends it through a module that then produces an invalid response format and the remote partner cannot parse the response because it does not conform to the AS2 specification standard???


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