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

Unable to generate multipart S/MIME message in IS 8.2.2

  • 1.  Unable to generate multipart S/MIME message in IS 8.2.2

    Posted Tue November 06, 2012 01:54 PM

    Hello,

    I’m having an issue when generating an S/MIME with multiple bodyparts in IS 8.2. Whenever i try to sign a MIME message with more than 1 bodypart, i receive the following error:

    com.wm.app.b2b.server.ServiceException: [ISS.0086.9054] Could not create signed SMIME object javax.mail.MessagingException: Please use SMimeBodyPart instead of MimeBodyPart!

    I’ve made a small test flow which basically creates a MIME message, adds 2 text/plain quoted-printable bodyparts, adds a header, puts it in an envelope, and finally signs it (at which point it fails with the error above). The same test flow works perfectly in IS 8.0.

    Is there anything i could have overlooked when generating the S/MIME message which could result in this error?


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: Unable to generate multipart S/MIME message in IS 8.2.2

    Posted Mon November 26, 2012 09:10 AM

    Hello again,

    After checking with SAG, we were told that this is an ongoing issue, and that there is a workaround for this. Setting the “explicit” flag in the “pub.smime.keystore:createSignedData” service to false seems to work for us.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services