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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Any java API available for RNO

    Posted 04/12/02 10:54 AM

    My partner is posting RNO object and we have to get signature and body out of that object so that we can sign and verify the contents. Is there any java API available to read RNO object?

    Thanks!!!

    Haroon


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 2.  RE: Any java API available for RNO

    Posted 04/12/02 07:01 PM

    There is a webMethods service to extract all the mime parts from an RNO stream.

    This is under the WmRNIF11TRP package:
    wm.ip.rnif11.util:unpackMimeData

    If you have the RNO file from your trading
    partner you can create a service to load and
    parse the RNO into its separate components (as strings).

    pub.file:getFile
    __set loadAs=stream
    wm.ip.rnif11.util:unpackMimeData
    __map body/stream → mimeStream
    loop over MimeMessage
    __inArray=MimeMessage
    __outArray=RNStringData
    (inside the loop)
    pub.io:streamToBytes
    __MimeMessage/stream → stream
    pub.string:bytesToString
    __map string → RNStringData
    Map
    __drop stream, bytes, string

    There is also a built in service to verify a mime signature wm.tn.mime:verify


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB