cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Soap Web service in Activiti

himanshu_agarwa
Champ in-the-making
Champ in-the-making
Hello Team,

I was googling about creating soap service in activiti but wasn't able to find any good search results, will be glad if you the community can help me out on this.
First of all, is it possible to create soap web service in activiti process itself i.e. the start event as soap web service which other users can call and start the process instance. if Yes, can you please share some good links.
Also, which would be better approach to create a soap service in plain Java that we do usually or using activiti.

Appreciate your prompt response.
1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

If you deploy your Activiti application to a J2EE container such as JBoss Wildfly, you can make use of jaxws to expose a process as a web service.

While there is no documentation of this in the Activiti docs, there is a sample implementation which will be almost identical in the Camunda samples here:

camunda-consulting/ProcessInvocation.java at master · camunda/camunda-consulting · GitHub 

Cheers,

Greg