cancel
Showing results for 
Search instead for 
Did you mean: 

My Custom end-point is not working with activiti-rest. Any idea anyone?

sreejith1
Champ in-the-making
Champ in-the-making

I tried to make a custom endpoint in activiti-app using the documentation provided Custom REST endpoints | Alfresco Documentation but I was not able to do so as it was returning 404 error always. Can you please advise where the mistake would be in my approach.

4 REPLIES 4

salaboy
Star Collaborator
Star Collaborator

Hi there, 

you will need to provide way more information for us to be able to help. 

Which version are you using, and show us how are you registering your custom endpoints. 

Are those custom endpoints displayed in the logs? 

Spring needs to register those endpoints, so it is probably a configuration problem. 

vmoreira
Champ in-the-making
Champ in-the-making

Hi! I've also got the same problem.

I've created a project with both endpoints (com.activiti.extension.rest) and (com.activiti.extension.api). There are no logs regarding the registering of the custom endpoints.

The "com.activiti.extension.api" endpoint runs perfectly (api/enterprise), the regular one does not.

Env: APS 1.6.2 on docker

salaboy
Star Collaborator
Star Collaborator

That's probably because you are in APS, it is possible that those "regular" endpoints are not being registered. 

sreejith1
Champ in-the-making
Champ in-the-making

i tried using the developer guide but always got the error in dispatcher servlet. can you share the snipet in web.xml of activiti-app.