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

cancel
Showing results for 
Search instead for 
Did you mean: 
sreejith1
Member II

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

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
salaboy
Senior Member

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

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
Partner

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

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
Senior Member

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

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

sreejith1
Member II

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

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.