2 Replies Latest reply on Mar 24, 2012 6:47 AM by salaboy21

    how to provide a complete workflow as web service?

    manfnan

      Hello,

       

      I try to deliver a complete jbpm workflow as a web service.

       

      In other projects, I created a new dynamic web project and used axis2 to generate a web service, then exported the project as a war file and placed the file in a tomcat webapps folder.

       

      Unfortunately, I don't have any settings for integrating axis2 in the preference menu of the eclipse demo version used by the jbpm demo setup.

       

      So I wonder whether I can solve the problem by using my standard eclipse version with integrated axis2 and so on but I can't find any installation guide except the one for the demo setup I want to avoid now.

      How can I integrate all jbpm components of a eclipse demo version in my regular used eclipse version?

       

      Or does anybody have another suggestion how to solve this problem? I want to deploy the web service in a tomcat. So it's not interesting to annotate the classes with web service terms and export the project as jar file.

       

      Thanks for your help.

       

      Best regards,

      Manfred

        • 1. Re: how to provide a complete workflow as web service?
          manfnan

          Update:

           

          I realised that I can import the files from the jbpm-binaries.zip archive to use the jbpm api in my own eclipse version. By doing so, I was able to provide a complete workflow as web service. The problem is that this workflow only contains of 2 self-developed work items with corresponding handlers. How can I integrate human tasks now without using the demo setup?

           

          My impression is that I have to use the web console to complete human tasks or is there another way?

          • 2. Re: how to provide a complete workflow as web service?
            salaboy21

            You can do everything with the APIs, there is no need for the console. The only thing that you need to do is to be sure that the human task component is up. You can also start this component inside your applicaiton. Notice that the Human Task Component can be local, using Mina or JMS, you need to choose one way and configure it accordingly.

            Cheers