As we have REST APIs to start/stop test, deploy MAR file, start/stop Virtual Service etc. Does CA Service virtualization provide REST APIs to create VS?
please add the following line to your request file and try again -
<?xml version="1.0" encoding="UTF-8"?>
Yes the way you would create a service is by using the createService method. This method takes a zip file as input.
Forgot to mention the contents of the zip file would be request/response pairs only.
Can you please provide the API or any relevant document
Sure here it is - https://support.ca.com/cadocs/0/CA%20DevTest%20Solutions%208%200-ENU/Bookshelf_Files/Invoke/index.html#-1841137770
I was able to create the VS with this method. But the VSI is not capturing request data and operation name accurately? Is there any particular format for request/response file?
I have kept the request and response SOAP XMLs in the files.
Can you provide a screenshot of what you see for the VS once the REST call is successful?
Below is screenshot for VSI . Request Data doesnot have any arguments but response is getting set.
Also Can we create JMS/REST based services also using same method? If yes where do we need to provide protocol details?
REST yes and JMS No. For REST just provide your RR pairs as REST.
Would you mind masking the data and sharing your Soap RR files?
I have used attached request/response pair
I had attached request/response but somehow it was not showing up.
Attaching image here
I am using the createService REST call to create responders.
Is there any way, via REST, to do one or both of the following:
1 - Specify "Match Style" as Operation. This is currently getting set a "Signature".
2 - Include a match script in the .zip payload
Retrieving data ...