Bug 980845

Summary: RESTWorkItemHandler supports only hard coded data in URL.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: jBPM CoreAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mswiders, rzhang
Target Milestone: ER3Keywords: TestBlocker
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:10:00 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 Marek Baluch 2013-07-03 10:47:15 UTC
Currently I see no way to pass in data into the RESTWorkItemHandler for POST or other methods then using the URL of the REST service.

Right now there's not way to invoke XML or JSON endpoints.

Comment 2 Maciej Swiderski 2013-08-26 15:14:27 UTC
Added possibility to specify data that shall be send for POST and PUT methods. It shall be given as Content work item parameter. In addition to that ContentType should be given to set proper Content-type header while executing the HTTP method.

ContentType work item parameter must be valid http content type e.g. application/xml.

Commit
https://github.com/droolsjbpm/jbpm/commit/452ef97e01924ab07f03363f296a211b9f039d4d

Comment 3 Marek Baluch 2013-09-19 13:10:10 UTC
Verified on ER3.