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

EDIINT AS2 settingextracting custom header information

  • 1.  EDIINT AS2 settingextracting custom header information

    Posted Fri August 29, 2003 03:27 PM

    We have customers sending us AS2 messages and including filename in a header called “content-disposition”. They do not have control over the “content-type” section and this is all they can do.

    Sample section of EDIINT data is below -


    date: Wed, 27 Aug 2003 19:59:54 GMT

    from: C:\EdiData\outbound\wwre

    as2-version: 1.1

    as2-from: PARTNER_DUNS

    as2-to: OUR_COMPANY_DUNS

    subject: EDIINTDATA

    message-id: <200308271459531f110543@haggaras2>

    disposition-notification-to: C:\EdiData\outbound\wwre

    disposition-notification-options: signed-receipt-protocol=optional,pkcs7-signature; signed-receipt-micalg=optional,sha1

    content-type: application/pkcs7-mime; smime-type=enveloped-data; name=“smime.p7m”

    content-disposition: inline; filename=“CustomFileName.txt”

    Once we receive the transmission, We need to be able to extract that “” so we can save the payload under the appropriate name. I have so far been able to extract things only out of “content-type” but nothing else.

    Also, I have been trying to setup another QA box to send me a similar transmission, but cant set it up to SEND that parameter either.

    Any ideas VERY HIGHLY appreciated…


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


  • 2.  RE: EDIINT AS2 settingextracting custom header information

    Posted Wed April 15, 2009 12:21 PM

    Which part of the EDIINT has the Content-Disposition Header?

    1. SMIME envelope?
    2. Payload ?
    3. Digital Signature portion?

    If it is coming on the AS2/MIME/HTTP header level,then you should be able to extract the MIME header using the tn mime built in services.

    If it is signed encrypted and sent in payload part, then i doubt if wM can do it or not!


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