Bug 980845 - RESTWorkItemHandler supports only hard coded data in URL.
Summary: RESTWorkItemHandler supports only hard coded data in URL.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER3
: 6.0.0
Assignee: Maciej Swiderski
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-03 10:47 UTC by Marek Baluch
Modified: 2014-08-06 20:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:10:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.