I get the following warning:

Found legacy application path parameter {applicationName} which was required for REST endpoints prior to 7.0.0.
Please remove the parameter from your @Path annotation or it can not be deployed to multiple applications.

However when I just remove the applicationName from my path @Path("{applicationName}/XYZ") that information is missing. I was hoping I'd be able to configure it via the @ApplicationPath annotation from javax but I don't know where/if AxonIvy puts the main Application. How would I go about fixing this warning properly?

asked 25.03.2020 at 10:56

mergo's gravatar image

accept rate: 0%

Hi @mergo

The application name is defined by the workflow application. Which can be defined on the engine serving the workflow: http://dev.axonivy.com/doc/8.0/engine-guide/tool-reference/engine-cockpit/applications.html

While working in the Axon.ivy Designer there exists a default workflow application called designer which contains all projects of your workspace. Therefore your JAX-RS resources should be available as: http://localhost:8081/ivy/api/designer/XYZ see http://dev.axonivy.com/doc/8.0/designer-guide/3rd-party-integration/index.html#provide-own-rest-services

You can explore many examples around the JAX-RS/Rest stack included in Axon.ivy. Use the Axon.ivy Sample import wizard and select Demos/ConnectivityDemos.

Here is a sample resource out of it: https://github.com/ivy-samples/ivy-project-demos/blob/master/ConnectivityDemos/ConnectivityDemos/src/com/axonivy/connectivity/rest/provider/PersonService.java


answered 26.03.2020 at 04:06

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 26.03.2020 at 04:07

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 25.03.2020 at 10:56

Seen: 1,402 times

Last updated: 26.03.2020 at 04:07