cancel
Showing results for 
Search instead for 
Did you mean: 

Working code for Spring based client for Activiti rest API

k_kunti
Champ in-the-making
Champ in-the-making
Hi All

Sharing my working code for Spring rest template based client for testing the REST services… please note the client is sending the requests to my TCPMON running on 8081 port

If it helps some folks Smiley Happy

Thanks
krish

If needed please download the attached zip file … in reply Smiley Happy
4 REPLIES 4

k_kunti
Champ in-the-making
Champ in-the-making
Hi

did some modifications in order to get the invoked response .. please find the attached code.

Thanks
Krish

JARS needed:

<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.aop-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.asm-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.context-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.context.support-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.core-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.transaction-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.web-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/loggings/commons-logging-1.1.1/commons-logging-api-1.1.1.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/loggings/commons-logging-1.1.1/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/loggings/commons-logging-1.1.1/commons-logging-1.1.1-sources.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/loggings/commons-logging-1.1.1/commons-logging-adapters-1.1.1.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/pool/commons-pool-1.5.5/commons-pool-1.5.5-sources.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/pool/commons-pool-1.5.5/commons-pool-1.5.5.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/commnshttp/commons-httpclient-3.1/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/codec/commons-codec-1.4/commons-codec-1.4.jar"/>
<classpathentry kind="lib" path="F:/Softwares/jasonobject/json-lib-2.2.2-jdk15.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/lang/commons-lang-2.5/commons-lang-2.5.jar"/>
<classpathentry kind="lib" path="F:/Softwares/ezmorph/ezmorph-1.0.6.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/collections/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/beanutils/commons-beanutils-1.8.3/commons-beanutils-bean-collections-1.8.3.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/beanutils/commons-beanutils-1.8.3/commons-beanutils-core-1.8.3.jar"/>
<classpathentry kind="lib" path="F:/Softwares/apachecommns/beanutils/commons-beanutils-1.8.3/commons-beanutils-1.8.3.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.expression-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/jakson-jason/jackson-all-1.6.4.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.beans-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="F:/Softwares/spring/spring-framework-3.0.5.RELEASE/dist/org.springframework.oxm-3.0.5.RELEASE.jar"/>

gant
Champ in-the-making
Champ in-the-making
Useful for me, many thanks.

k_kunti
Champ in-the-making
Champ in-the-making
hi Gant

Include my eclipse project… please have a look. you will have to include the JARS in ur classpath.

Krish

johnvijay
Champ in-the-making
Champ in-the-making
Thanks man