webMethods

webMethods

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

Is it possible to set two inputs for pub.flow:setResponse2

  • 1.  Is it possible to set two inputs for pub.flow:setResponse2

    Posted Fri October 21, 2022 04:10 PM

    What product/components do you use and which version/fix level are you on?

    Software AG webMethods Integration Server 10.5.0.0

    Is your question related to the free trial, or to a production (customer) instance?

    Production Customer Instance

    What are you trying to achieve? Please describe it in detail.

    I want to send a Object data type to a response from a calling application through Rest API web service.

    Do you get any error messages? Please provide a full error message screenshot and log file.

    No

    Have you installed all the latest fixes for the products and systems you are using?

    Yes


    #B2B-Integration
    #SoftwareAGDesigner
    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods
    #Service-Designer


  • 2.  RE: Is it possible to set two inputs for pub.flow:setResponse2

    Posted Fri October 21, 2022 04:15 PM

    in information available here: pub.flow:setResponse2 (softwareag.com)

    "

    Specify responseString, responseBytes, or responseStream. If you specify more than one, the pub.flow:setReponse2 service looks for the parameters in the following order and uses the first one that it finds: responseString, responseBytes,responseStream.

    "

    My plan is below

    <elements>
    <element>val1</element>
    <element>val2</element>
    </elements>
    

    Is it possible to send the val1 in Json String and the val2 in byte data type in one response?


    #B2B-Integration
    #SoftwareAGDesigner
    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #Service-Designer
    #webMethods


  • 3.  RE: Is it possible to set two inputs for pub.flow:setResponse2

    Posted Sun October 23, 2022 03:20 AM


  • 4.  RE: Is it possible to set two inputs for pub.flow:setResponse2

    Posted Mon October 24, 2022 10:41 AM

    Take a look at Multipart MIME messages: Reverb

    Percio


    #Flow-and-Java-services
    #webMethods
    #B2B-Integration
    #Service-Designer
    #SoftwareAGDesigner
    #Integration-Server-and-ESB