HI All,
I'm struggling to deploy a process via the REST api ( Works fine via Java API ). I'm getting a 404 ( not found ).
Has the URI changed ? <deploymentURL>/engine-rest/deployment/create
All other webservices are working fine and as expected. Im posting a multipart mime, but given the 404 it appears to be failing before Camunda even tries to interrogate the payload. ( nothing in the logs to go on as 404 cant go anywhere )
Any ideas ?
Thanks
Gareth
e.g
12 Nov 2014 16:15:59,721 - main - DEBUG - org.springframework.http.client.support.HttpAccessor.createRequest(HttpAccessor.java:78) - Created POST request for "
http://localhost:8081/engine-rest/deployment/create"
12 Nov 2014 16:15:59,724 - main - DEBUG - org.springframework.web.client.RestTemplate$AcceptHeaderRequestCallback.doWithRequest(RestTemplate.java:579) - Setting request Accept header to [text/plain, application/json, application/*+json, */*]
12 Nov 2014 16:15:59,725 - main - DEBUG - org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.doWithRequest(RestTemplate.java:653) - Writing [{deployment-name=[UnitTestProcess], enable-duplicate-filtering=[true], deploy-changed-only=[true], *=[<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="
http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:camunda="
http://activiti.org/bpmn" id="federos-definition" targetNamespace="
http://tdbfusion.com/federos">
<process id="federos-0A02003677BB227AF1DBD1B533C849CA" isExecutable="true" name="PT1">
<laneSet id="laneSet_4bd7ccdd-98f8-4f90-889b-f9407a808d5b">
<lane id="lane_a93ac62b-4437-45a3-9fc9-dff01766e4b5" name="admin">
<flowNodeRef>GUID-0A02004943714A3EFC0D3E1E49D84F27</flowNodeRef>
<flowNodeRef>GUID-0A02004943714A3E7EA6C5F117D14F7A</flowNodeRef>
<flowNodeRef>GUID-0A02004943714A3E96AEC9D00D534F06</flowNodeRef>
</lane>
</laneSet>
<endEvent id="GUID-0A02004943714A3EFC0D3E1E49D84F27" name="Silent end">
<incoming>GUID-7F0000013D0B754553B2316E7BD14DCD</incoming>
</endEvent>
<task id="GUID-0A02004943714A3E7EA6C5F117D14F7A" name="Demo Abstract task">
<incoming>GUID-0A02004943714A3EFA24B46354624470</incoming>
<outgoing>GUID-7F0000013D0B754553B2316E7BD14DCD</outgoing>
</task>
<startEvent camunda:async="true" id="GUID-0A02004943714A3E96AEC9D00D534F06" name="Manual start">
<outgoing>GUID-0A02004943714A3EFA24B46354624470</outgoing>
</startEvent>
<sequenceFlow id="GUID-0A02004943714A3EFA24B46354624470" sourceRef="GUID-0A02004943714A3E96AEC9D00D534F06" targetRef="GUID-0A02004943714A3E7EA6C5F117D14F7A"/>
<sequenceFlow id="GUID-7F0000013D0B754553B2316E7BD14DCD" sourceRef="GUID-0A02004943714A3E7EA6C5F117D14F7A" targetRef="GUID-0A02004943714A3EFC0D3E1E49D84F27"/>
</process>
<collaboration id="collaboration_2131955d-e2ff-41e9-92cf-9a765cf771a7">
<participant id="participant_93dfc05f-cbc7-4f41-8e9b-8f68c8375662" name="admin" processRef="federos-0A02003677BB227AF1DBD1B533C849CA"/>
</collaboration>
</definitions>]}] as "application/x-www-form-urlencoded" using [org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter@64a2ad8]
12 Nov 2014 16:15:59,737 - main - WARN - org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:529) - POST request for "
http://localhost:8081/engine-rest/deployment/create" resulted in 404 (Not Found); invoking error handler
--
Confidentiality Notice:
The contents of this e-mail and any attachments are intended for the named
addressee only and may be confidential. Unless you are the named addressee
or authorised to receive the e-mail of the named addressee, you may not
disclose, use or copy the contents of this e-mail. If you have received
this e-mail in error, please contact the sender and delete the e-mail
immediately. TDB Holdings Limited and its associated group companies do not
accept responsibility for this message and any views or opinions contained
within this e-mail are solely those of the author unless expressly stated
otherwise.