<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Found legacy application path parameter {applicationName}</title><link>https://answers.axonivy.com/questions/4471/found-legacy-application-path-parameter-applicationname</link><description>&lt;p&gt;I get the following warning: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;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.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;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?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4471/found-legacy-application-path-parameter-applicationname" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 26 Mar 2020 04:06:42 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/4471/found-legacy-application-path-parameter-applicationname/4473</link><description>&lt;p&gt;Hi &lt;a href="https://answers.axonivy.com/users/1243/mergo"&gt;&lt;a href="https://answers.axonivy.com/users/1243/mergo"&gt;@mergo&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application name is defined by the workflow application. Which can be defined on the engine serving the workflow: &lt;a href="http://dev.axonivy.com/doc/8.0/engine-guide/tool-reference/engine-cockpit/applications.html"&gt;http://dev.axonivy.com/doc/8.0/engine-guide/tool-reference/engine-cockpit/applications.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;While working in the Axon.ivy Designer there exists a default workflow application called &lt;code&gt;designer&lt;/code&gt; which contains all projects of your workspace. Therefore your JAX-RS resources should be available as:
&lt;a href="http://localhost:8081/ivy/api/designer/XYZ"&gt;http://localhost:8081/ivy/api/designer/XYZ&lt;/a&gt; 
see &lt;a href="http://dev.axonivy.com/doc/8.0/designer-guide/3rd-party-integration/index.html#provide-own-rest-services"&gt;http://dev.axonivy.com/doc/8.0/designer-guide/3rd-party-integration/index.html#provide-own-rest-services&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Here is a sample resource out of it: &lt;a href="https://github.com/ivy-samples/ivy-project-demos/blob/master/ConnectivityDemos/ConnectivityDemos/src/com/axonivy/connectivity/rest/provider/PersonService.java"&gt;https://github.com/ivy-samples/ivy-project-demos/blob/master/ConnectivityDemos/ConnectivityDemos/src/com/axonivy/connectivity/rest/provider/PersonService.java&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 26 Mar 2020 04:06:42 -0400</pubDate><guid>https://answers.axonivy.com/questions/4471/found-legacy-application-path-parameter-applicationname/4473</guid></item></channel></rss>