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="" xmlns:xsi="" xsi:schemaLocation=" Error.xsd" type="application/"><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" ?>