Bug 1003024

Summary: Signal process instance request via REST API requires both the XML body and form parameters
Product: [Retired] JBoss BPMS Platform 6 Reporter: Ivo Bek <ibek>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED CURRENTRELEASE QA Contact: Ivo Bek <ibek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: lpetrovi, mbaluch, rrajasek, smcgowan
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:12:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivo Bek 2013-08-30 14:01:19 UTC
Description of problem:

There is no need to send any XML body for signal process instance method since all the required params are send within form. Now it's not possible to send the signal request because I cannot fulfill the Consumes(xml) requirement.
Hint: It should be enough to remove the Consumes annotation. https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-remote/kie-services-remote/src/main/java/org/kie/services/remote/rest/RuntimeResource.java#L119

I use following request with the form parameters.

ClientRequest restRequest = createRequest(address);
restRequest.accept("application/xml");

restRequest.formParameter("eventType", eventType);
restRequest.formParameter("event", event);

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Marco Rietveld 2013-09-03 13:54:48 UTC
Fixed with this commit: 

https://github.com/droolsjbpm/droolsjbpm-integration/commit/b366d3d12b81a779c4492443fcb2ad469afefbbf

Please set the milestone and set to MODIFIED. 
Thanks!

Comment 6 Ivo Bek 2013-10-15 11:39:19 UTC
Verified in BPMS 6.0.0.ER4