Can virtual service be created where virtual service will send request to external service and will get a response as a status code?
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Can virtual service be created where virtual service will send request to external service and will get a response as a status code?
Could you please elaborate more on the requirement. are you going to use any CI tool or scheduler to call the Virtual Service periodically which intern calls the external service?
Service A sends request to Virtual Service B.
Based on the request from Service A, Virtual service B process its request to external Service C and this service sends response as status code to virtual service based on which further processing takes place.
The highlighted part is the driving part from virtual service end where virtual service not only accept the request but also send the request to external service.
Is this achievable with VS?
Yes, it can be implemented in the SV Designer.
you need to add Service call activity within Virtual Service B Data Model.
Configure External Service C in the Activity.
You can also achieve this using C# Script rule.
Thankyou Syed.
SCA is working as you advised.