AnsweredAssumed Answered

RR Directory cannot be null error when trying to create service via CA Invoke 2.0 API

Question asked by jfewins on Jun 3, 2015
Latest reply on Jun 17, 2015 by Mike_Gavaghan

I receiving the following error response when trying to create a service using a MAR file build via the workstation:

 

<?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>RR Directory cannot be null.</AdditionalInformation></Error>

 

Here is the command I'm using to invoke the API via curl:

 

curl --user admin:admin -F 'file=@/Users/jf8275/projects/phappdev/registries_sv/HZDCannotEditClinicalData.mar' http://localhost:1505/api/Dcm/VSEs/VSE/actions/createService

 

When I deploy the MAR Info file from the workstation, the service will be created just fine in the VSE.

 

Any idea where I need to define this RR Directory?

 

EDIT:  Here is my MarInfo file:

 

<?xml version="1.0" ?>


<MarInfo>
<name>HZDCannotEditClinicalData</name>
<type>VIRTUAL_SERVICE</type>
<projectRoot>registries_sv</projectRoot>
<optimized>true</optimized>
<deployInfo>
    <PrimaryAsset>VirtualServices/HZDCannotEditClinicalData.vsm</PrimaryAsset>
    <Configuration>Configs/project.config</Configuration>
    <ConcurrentCapacity>1</ConcurrentCapacity>
    <ThinkTimePercent>100</ThinkTimePercent>
    <AutoRestart>true</AutoRestart>
    <StartOnDeploy>true</StartOnDeploy>
    <GroupTag>hazards</GroupTag>
</deployInfo>
</MarInfo>

Outcomes