AnsweredAssumed Answered

Error while Creating REST full Virtual Service

Question asked by AirySoft on Jan 12, 2018
Latest reply on Jan 16, 2018 by abrsh01

Hello team,

Any help is greatly appreciated.

 

I am using the following command to create REST virtual service on DevTest server 10.1

 

The RRPairs.ZIP contains the request response pairs and serviceProperties.xml. This ZIP file is in the same location from where I am executing CURL Command.

 

C:\curl-7.56.1-win64-mingw\curl-7.56.1-win64-mingw>curl -X POST -u admin:admin -F file=@RRPairs.zip

http://devtest01.CORPHOST.com:1505/api/Dcm/VSEs/VSE/actions/createService

 

The response I am getting is as follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Error xmlns="http://www.ca.com/lisa/invoke/v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ca.com/lisa/invoke/v2.0 Error.xsd" type="application/vnd.ca.lisaInvoke.error+xml"><Id>1011</Id><Message>Failed to create service</Message><AdditionalInformation>Index: 0, Size: 0</AdditionalInformation></Error>
C:\curl-7.56.1-win64-mingw\curl-7.56.1-win64-mingw>

 

Best Regards

Sunil

Outcomes