Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4657

RESTWorkItemHandler does not work with Custom Model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 6.3.0.Final
    • jBPM 6.2.0.Final
    • Runtime Engine
    • None
    • Hide

      1. Assume Rest Service which outputs following response:
      <pv207.finepayment.Client>
      <exists>true</exists>
      <name>Pavel</name>
      </pv207.finepayment.Client>

      The full implementation is attached as rest-resources.zip which is a simple maven project, which can be deployed on top of the JBoss EAP / Wildfly

      2. Assume following Custom Model created via business-central in the kjar project
      http://pastebin.com/QHBWxXwg

      3. Try to invoke the REST Resource mentioned in step 1) via out of the box RestWorkItemHandler and accept pv207.finepayment.Client as a response.

      The server throws following exception:
      http://pastebin.com/AGLHCMzJ

      Actual results:
      RestWorkItemHandler does not work with custom model classes

      Expected results:
      RestWorkItemHandler does work with custom model classes

      Show
      1. Assume Rest Service which outputs following response: <pv207.finepayment.Client> <exists>true</exists> <name>Pavel</name> </pv207.finepayment.Client> The full implementation is attached as rest-resources.zip which is a simple maven project, which can be deployed on top of the JBoss EAP / Wildfly 2. Assume following Custom Model created via business-central in the kjar project http://pastebin.com/QHBWxXwg 3. Try to invoke the REST Resource mentioned in step 1) via out of the box RestWorkItemHandler and accept pv207.finepayment.Client as a response. The server throws following exception: http://pastebin.com/AGLHCMzJ Actual results: RestWorkItemHandler does not work with custom model classes Expected results: RestWorkItemHandler does work with custom model classes

    Description

      It is not possible to use out of the box RESTWorkItemHandler with custom model classes created in business-central (probably also outside)

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-agiertli Anton Giertli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: