AnsweredAssumed Answered

DevTest Rest API DeployMar Issue - Postman Rest Client

Question asked by AVSDevTest on May 12, 2016
Latest reply on May 15, 2016 by AVSDevTest

Hi All,


I am trying to deploy MAR file with the help of REST APIs from POSTMAN tool but getting issue related to Jersey. It seems there is a bug in Jersey service implementation in the DevTest tool.

I am trying to deploy the MAR file on the VSE which is running on different host. I am setting up form-data as a file by browsing a MAR file but getting error.


Here is my URL, Header and Body details :


POST http://localhost:1505/api/Dcm/VSEs/VSE/actions/deployMar \

header :

     authorization: Basic QzgzODU1HfHgTdRdEdTfTdfUiExNg=='

Body :

     form-data : 'body=@/usr/local/soapservice.mar'


The error I am getting -


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Error xmlns="" xmlns:xsi="" xsi:schemaLocation=" Error.xsd" type="application/">


    <Message>File is not provided</Message>


  com.itko.lisa.invoke.api.exception.BadRequestException: File is not provided

  at com.itko.lisa.invoke.ParamterUtils.getInputStream(

  at com.itko.lisa.invoke.resource.VseResource.deployService(

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(

  at java.lang.reflect.Method.invoke(


Your help will be appreciated. Thanks.