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.  Extract header from REST JSON message

    Posted 01/08/16 09:42 AM

    Hi There,

    We have requirement in which we will get a REST JSON request message which will contain unique values in the message header level. We tried the getTransportInfo but we were able to fetch only the transport level header details,but not the message level header.

    Does anybody have tried this or any suggestions ?

    Thanks,
    Ragav J


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


  • 2.  RE: Extract header from REST JSON message

    Posted 04/05/16 12:51 AM

    Try to use java services.

    U can use this API :

    HttpHeader header = Service.getHttpRequestHeader();
    Map<String,String> attr = header.getFieldsMap();

    The attr will contain all the header’s attribute.


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