cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a webservice task using the Activiti designer?

raj1
Champ in-the-making
Champ in-the-making
How to create a webservice task using the Activiti designer? Also is it possible to deploy the modeled BPMN process as a web service in Activiti engine, so that the Business process can be invoked via soap?

Please guide me!
Raj
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi,

Currently a web service task is not yet available in the Designer. Maybe in the next version.
No, a process can not be exposed as a SOAP web service automatically yet.
Of course you could implement it yourself quite easily.
And you could use the REST interface which does provide this functionality.

Best regards,

raj1
Champ in-the-making
Champ in-the-making
Is the web service task supported by activiti 5.3? I am trying to run the activiti - cxf - example, but the WebServiceTaskTest.testWebServiceInvocation.bpmn20.zip  is not getting deployed using activiti probe.Has anyone tried out this example? Please Guide me !!!!!!!!

11:52:21,110  ERROR [extensions.webscripts.AbstractRuntime] Exception from execu
teScript - redirecting to status template error: org/springframework/extensions/
webscripts/AbstractWebScript$1
java.lang.NoClassDefFoundError: org/springframework/extensions/webscripts/Abstra
ctWebScript$1
        at org.springframework.extensions.webscripts.AbstractWebScript.createSta
tusException(AbstractWebScript.java:751)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:167)
        at org.springframework.extensions.webscripts.PresentationContainer.execu
teScript(PresentationContainer.java:69)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:333)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:189)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.se
rvice(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:662)

frederikherema1
Star Contributor
Star Contributor
Are you sure all dependencies for the cxf-tests are in the activiti-rest /WEB_INF/lib/ folder?

raj1
Champ in-the-making
Champ in-the-making
Thanks for your reply. It was my mistake. I did not add the dependencies properly. The cxf example is running fine.

Best,
Raj