A RHPAM project that consumes a simple REST service.
|
před 3 roky | |
---|---|---|
global | před 3 roky | |
src | před 3 roky | |
.gitignore | před 3 roky | |
COPYING | před 3 roky | |
README.md | před 3 roky | |
package-names-white-list | před 3 roky | |
pom.xml | před 3 roky | |
project.imports | před 3 roky | |
project.repositories | před 3 roky |
An example process model where a REST task (along with the corresponding
WorkItemHandler
) is used to consume a REST WS. Depends on the
ws-customer-data
service being deployed somewhere, by default on
http://localhost:9080/ws-customer-data/
.
For proper serialization of objects coming from a shared dependency (such as
Customer
in this case), the WIH definition in kie-deployment-descriptor.xml
needs to be modified to use the module class loader (as of RHPAM 7.11).