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

getEnvelopeStream throwing exception in wm6.1

  • 1.  getEnvelopeStream throwing exception in wm6.1

    Posted Wed April 16, 2008 01:51 PM

    Hi,

    I’m trying to create a encrypted mime data using the below set of services,

    I tried creating a Mime Data object, converted the html text string to bytes and then a stream, invoked the addBodyPart, invoke getEnvelopeStream.

    But the below exception is being thrown when executing getEnvelopeStream, “text/plain” DataContentHandler requires String object, was given object of type class java.io.ByteArrayInputStream"

    These same set of services are working fine when executed on a different wm server (6.1). Is this a bug onmy server. How can i fix it??
    Please drop in ur ideas.

    Thanks,
    Ramya


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