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

Custom Header Lines (http response)

  • 1.  Custom Header Lines (http response)

    Posted Sat February 18, 2006 03:49 PM

    Apologies if this was already answered - I searched, but was unable to find a similar scenario to mine.

    A partner is making a call to a service in our wM4.6 environment.

    webMethods is returing:

    body

    [INDENT]bytes
    [/INDENT]header

    [INDENT]lines

    [INDENT]Content-type
    Connection
    Content-Length
    [/INDENT]status

    [/INDENT]Now, the partner wants us to add a custom header line:

    body

    [INDENT]bytes
    [/INDENT]header

    [INDENT]lines

    [INDENT]Content-type
    Connection
    Content-Length
    User-defined value
    [/INDENT]status

    [/INDENT]How can I add this additional header-line? I tried pub.flow:setResponse, which does not help. I also used a custom java code to hdr.setResponse, but this just changes the “statusMessage”.

    Please help.

    Piara


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