A RHPAM project that consumes a simple REST service.
|
|
há 4 anos atrás | |
|---|---|---|
| global | há 4 anos atrás | |
| src | há 4 anos atrás | |
| .gitignore | há 4 anos atrás | |
| COPYING | há 4 anos atrás | |
| README.md | há 4 anos atrás | |
| package-names-white-list | há 4 anos atrás | |
| pom.xml | há 4 anos atrás | |
| project.imports | há 4 anos atrás | |
| project.repositories | há 4 anos atrás |
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).