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.  How to convert JSON string to Bytes format

    Posted 10/10/18 03:58 AM

    Hi,

    My subscription service is expecting byte format as input from UM.

    My provider(Rest post service(JSON format)) service needs to post bytes to UM.
    Kindly let me know how we can convert JSON format to byte format.

    Regards,
    Sangeetha


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: How to convert JSON string to Bytes format

    Posted 10/10/18 04:53 AM

    Hi Sangeetha,
    if you receive json as a string directly then you can convert to byte format by using following IS services
    in WmPublic package
    pub.json:documentToJSONString
    pub.string:stringToBytes

    Regards,
    Spurti


    #Integration-Server-and-ESB
    #webMethods