AnsweredAssumed Answered

Deploying with REST

Question asked by rdiaz1 on Dec 3, 2010
Latest reply on Sep 13, 2011 by saurabhmittal
Hi there,

I´m trying to deploy a bpmn20.xml in Activiti with the REST Api.
I can see in the user guide the explication for this..

Request: POST /deployments

success={success}&failure={success}&deployment={file}

But when I access with the browser to all Web Scripts, this service is not found.
I´ve seen checking the source code the resource "deployment.post.desc.xml" but with a change in the path (/deployment) and the DeploymentPost web script is there also..

FormData.FormField file = ((WebScriptServletRequest) req.getWebScriptRequest()).getFileField("deployment");     

How i have to put the param "file"? what is "file"? I´m using Jax-rs client api and I tried with Attachment and MultipartBody but doesn´t work
I don´t know if I´m wrong in something or this service is not possible currently.

Thanks

Outcomes