A RHPAM project that consumes a simple REST service.
|
|
%!s(int64=4) %!d(string=hai) anos | |
|---|---|---|
| global | %!s(int64=4) %!d(string=hai) anos | |
| src | %!s(int64=4) %!d(string=hai) anos | |
| .gitignore | %!s(int64=4) %!d(string=hai) anos | |
| COPYING | %!s(int64=4) %!d(string=hai) anos | |
| README.md | %!s(int64=4) %!d(string=hai) anos | |
| package-names-white-list | %!s(int64=4) %!d(string=hai) anos | |
| pom.xml | %!s(int64=4) %!d(string=hai) anos | |
| project.imports | %!s(int64=4) %!d(string=hai) anos | |
| project.repositories | %!s(int64=4) %!d(string=hai) anos |
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).