[jboss-jira] [JBoss JIRA] (DROOLS-4755) Need a more clear way to use RestWorkItemHandler to POST to an external service that uses application/x-www-form-urlencoded content-type
Jonathan Fisher (Jira)
issues at jboss.org
Wed Nov 13 12:55:00 EST 2019
[ https://issues.jboss.org/browse/DROOLS-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812251#comment-13812251 ]
Jonathan Fisher commented on DROOLS-4755:
-----------------------------------------
I'll take a crack at a patch. What I'm think is look at the fields on the data object. We could probably look at the `XmlElement` to get a field name, and ignore and fields with `XmlTransient`, or even maybe have a FormEncodedParam annotation.
Is there a specific libary jbpm/drools uses to examine annotations? If I created an annotation, is there an existing "Api project" I could add the annotation to?
> Need a more clear way to use RestWorkItemHandler to POST to an external service that uses application/x-www-form-urlencoded content-type
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-4755
> URL: https://issues.jboss.org/browse/DROOLS-4755
> Project: Drools
> Issue Type: Bug
> Reporter: Danny Rucker
> Assignee: Mario Fusco
> Priority: Minor
>
> Need a more clear way to POST to application/x-www-form-urlencoded endpoint.
> By passing an object that contains the data needed for the endpoint.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list