Service Virtualization

Expand all | Collapse all

How to get the response xml  while running the virtual service  in c# application?

  • 1.  How to get the response xml  while running the virtual service  in c# application?

    Posted Apr 24, 2018 07:25 AM
      |   view attached

    I want  to get the response XML  while running the virtual service  in c# application. I have configured the request API and then a Url is being generated while running the service with its response.

     

     

    I need to consume the generated Url and get the response body for the request body we send code level in c#

     

     

    Please find the attached screen shots of all done in CA Lisa Edition Tool

    Attachment(s)

    doc
    CA_API_Steps_24042018.doc   574 KB 1 version


  • 2.  Re: How to get the response xml  while running the virtual service  in c# application?
    Best Answer

    Broadcom Employee
    Posted Jun 08, 2018 10:15 AM

    If you want to generate a request, response from wsdl url, then in SV CE, choose

    Add Transaction to Bundle -> URL

    Here, put the wsdl url and then click - Add to Bundle

    This will generate request / response and then click - Create virtual service

    once you have made the necessary changes (if any needed)

     

     

    Thanks,

    Surya