<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Activiti Project as a REST Web Application (Server) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145993#M101978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure what the best way to go about this is. Currently I have an Activiti Project which is able to deploy a process on the activiti-explorer application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need a way for this project to be activated via a web service, as a&amp;nbsp; c# application needs to call it and query it for information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got a RESTful c# client configured.&amp;nbsp; In JAVA i have REST Server configured and my Activiti Project in eclipse. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't get the Server to call my Activiti Project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I did the following to try and make it work:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; -I am testing this with a very simple Servlet, whose doGet() method will call my Activiti application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -I packaged my Activiti Project as a JAR and included it in the Build-Path of my server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -I copied the JAR file to the WEB-INF/libs folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Copied all the Activi libraries to the Build Path of my Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Included Activiti project as a reference to my Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I still get &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.servlet.ServletException: Servlet execution threw an exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;root cause &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.NoClassDefFoundError: org/activiti/engine/ProcessEngineConfiguration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;com.ProcessTestVacationRequest.startProcess(ProcessTestVacationRequest.java:43)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Servlet1.doGet(Servlet1.java:38)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;javax.servlet.http.HttpServlet.service(HttpServlet.java:621)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;javax.servlet.http.HttpServlet.service(HttpServlet.java:722)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though my Activi Project works fine on its own, the Server works fine on its own.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_____&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other approaches to this could be:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; Maybe I can use the supplied activiti-rest.war but im not sure how.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; Also, the Acvititi's REST api will it allow me to call a JAVA application that deploys Activiti's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - I bought the book and am looking into Apache Camel with book CH11, maybe those can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_____&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jun 2013 19:24:18 GMT</pubDate>
    <dc:creator>challengeactivi</dc:creator>
    <dc:date>2013-06-13T19:24:18Z</dc:date>
    <item>
      <title>Activiti Project as a REST Web Application (Server)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145993#M101978</link>
      <description>Hey,I am not sure what the best way to go about this is. Currently I have an Activiti Project which is able to deploy a process on the activiti-explorer application.I need a way for this project to be activated via a web service, as a&amp;nbsp; c# application needs to call it and query it for information.I g</description>
      <pubDate>Thu, 13 Jun 2013 19:24:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145993#M101978</guid>
      <dc:creator>challengeactivi</dc:creator>
      <dc:date>2013-06-13T19:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Project as a REST Web Application (Server)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145994#M101979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's definitely the easiest to use the activiti-rest.war application that's part of the Activiti download. This already contains a REST service to deploy a new process definition to the Activiti Engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 06:49:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145994#M101979</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-06-14T06:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Project as a REST Web Application (Server)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145995#M101980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey, i was thinking that but the API is essentially java. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 2 questions regarding that. Can the API&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - deploy a new Activiti like the simple application in the user guide?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - will i have to make c# wrappers for API methods if i want to use them from my app &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 11:44:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145995#M101980</guid>
      <dc:creator>challengeactivi</dc:creator>
      <dc:date>2013-06-14T11:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Project as a REST Web Application (Server)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145996#M101981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me know if I misunderstands you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are running a Java server that hosts Activiti engine. And you have a C# app as its client doing RESTful to the server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem you stated in your first post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NoClassDefFoundError indicates that your Activiti jars are not in your build path. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer your questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. AFAIK, Activiti jars are for running embedded Activiti in process. I have never tried activiti-rest.war as @trademark suggested. Seems like you should give this a shot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I'm not sure I follow where you are heading, but you are running Activiti on Java server right?&amp;nbsp; no need for C# wrappers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jun 2013 21:27:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-project-as-a-rest-web-application-server/m-p/145996#M101981</guid>
      <dc:creator>hyapit</dc:creator>
      <dc:date>2013-06-16T21:27:08Z</dc:date>
    </item>
  </channel>
</rss>

