How to create virtual services in devtest to generate request xml from sample xml's or xsd file?
Create Virtual Service using Request and Response (Component C) in layer B.
Can you provide an example of what you are trying to achieve?
Normally We can generate a virtual response for a request.
We use Request / Response Pairs as "XML samples" to generate Virtual Services:
Create a Service Image from Request-Response Pairs in the UI - DevTest Solutions - 10.2 - CA Technologies Documentation
We can also create a Virtual Service from a WSDL file:
Create a Service Image from a WSDL - DevTest Solutions - 10.2 - CA Technologies Documentation
There are three components A,B & C.
The component A sends request to B and B sends it to C, C sends response back.
I have virtualized Component C using RR pairs. So component B sends request to my VS and VS sends response back.
Now I want to virtualize component B which sends request to C wherein Component C will consume request coming from VS and send response.
Is it possible to do?
Note: Both virtual service will not be used at same time.
If I understand correctly, In some cases you want to send the request to component C and in few cases respond from component B itself,
Case1: (component A) <----req-rsp----> (component B[Virtual Service])
component A will get the response from Virtual Service B, Here Virtual Service C is not required since you have the option to configure component C response in Virtual Service B
Case2: (component A) <----req-rsp----> (component B[use live invocation in VS ]) <----req-rsp----> (component C)
component A will get the response from component C, Here Virtual Service B will act as a Gateway
You are right Venkat.
I need to do the case 1 virtualization.
Could you please guide me how to achieve this?
Retrieving data ...