Service Virtualization

 View Only
Expand all | Collapse all

Using values from one virtual Soap Request in the response of another virtual SOAP service response

  • 1.  Using values from one virtual Soap Request in the response of another virtual SOAP service response

    Posted Apr 01, 2020 05:54 PM
    Hello,

    Is it possible to take a value from the request of Virtual service "A" and use that value in the response of Virtual Service "C"?  If so what is the best way to do so?  Although I have been working with Virtual Services for several months I have not had to do any customization like this before.  Any help or suggestions would be appreciated.

    Thanks,
    Al


  • 2.  RE: Using values from one virtual Soap Request in the response of another virtual SOAP service response
    Best Answer

    Posted Apr 02, 2020 03:18 AM
    ​Hi,

    There are different approaches to achieve this, listed below:
    1. You can create a stateful service which will help you to flow the values parameters across
    2. You can save the values in DB and retrieve the same in other service call
    3. You can save the values in csv/delimited file and read the same in second service call
    4. You can use SharedModelMap (Shared Model Map memory is only cleared out by start/stop of VSE.)

    Thanks.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------