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

converting string/bytes to Binary data to post via http

  • 1.  converting string/bytes to Binary data to post via http

    Posted Fri August 03, 2007 01:45 PM

    Hello

    FTP have option to post data as binary.
    How to convert an string/bytes data to binary data and post it via http

    Thanks
    Vinod


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


  • 2.  RE: converting string/bytes to Binary data to post via http

    Posted Tue August 07, 2007 07:58 AM

    I am a bit rusty with pub.client:http, but HTTP can be used to transport binary data just as is (i.e., it is 8-bit clean). I think you need to convert to bytes and set it to the data/bytes input. Of course, the format of the POST would depend on the receiving service. You can also put binary data in the CDATA section of an XML document, but I am not sure if webMethods can parse that.


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