A RHPAM project that consumes a simple REST service.
|
|
před 4 roky | |
|---|---|---|
| global | před 4 roky | |
| src | před 4 roky | |
| .gitignore | před 4 roky | |
| COPYING | před 4 roky | |
| README.md | před 4 roky | |
| package-names-white-list | před 4 roky | |
| pom.xml | před 4 roky | |
| project.imports | před 4 roky | |
| project.repositories | před 4 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).