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..
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.
The parameter 'file' should be the filename of the file you want to upload, not the actual file itself. The property "deployment" is the actual content, which is a multipart massage.
About the URL, that should indeed be '/deployment POST' instead of deployments.