cancel
Showing results for 
Search instead for 
Did you mean: 

Running activiti-cxf-example

activiti_user11
Champ in-the-making
Champ in-the-making
Hi, I am trying activiti and want to invoke a WS from a serviceTask so I want to run the activiti-cxf-example but I couldn't. I looked for information on how to deploy and run the example, but there seems to be none !

I am using the Activiti designer to generate the .bar with the corresponding option, but I don't understand if the WS are already deployed in the tomcat where activiti runs, or if I have to deploy the webservices. There is no build or option to do so, that's why I am asking. 

When I upload the .bar in the activiti-explorer at first there was a problem with the WSDL importer that I've solved copying several runtime-libs of the example into the activiti-explorer and activiti-rest web-inf/lib, so I was able to upload the .bar but the process is not shown. I also solved the problem with the null name of the process that crashed the engine.

I am attaching a screenshot of the tomcat console. I'll appreciate any help.

best regards, Vero
13 REPLIES 13

activiti_user11
Champ in-the-making
Champ in-the-making
In the cxf-example there is no WS generated to deploy and I don't know how to and where to put it in the activiti-explorer ? Any help or tutorial to recommend on doing that ? do you think that because the connection was refused the engine crashes ? thank you,
regards, Vero

trademak
Star Contributor
Star Contributor
Hi,

When you get the Activiti in Action book, chapter 11 contains an example WS and the Activiti process definition to invoke it.

Best regards,

activiti_user11
Champ in-the-making
Champ in-the-making
hi, is there another way to learn how to make a call to a WS work in activiti engine ? a tutorial on the cxf-examples that come with the activiti distribution ? I am surely not getting the book but really would like to use activiti. Is there a way to avoid the internal error when a connection gets refused ? It would be good that instead a nice error message displays and the engine doesn't crash.  
regards, Vero

activiti_user11
Champ in-the-making
Champ in-the-making
and anyway the book will be released in five months by the end of february ! I need to get the WS calls to work now ! someone can give me a step by step procedure to make the cxf-example works ? I've read some post were people said they were able to deploy and run it, please give me some indications !
regards, Vero