Details
-
Bug
-
Resolution: Done
-
Minor
-
4.1.1.Final
-
None
Description
- Create an HTML5 project from central
- In JaxRsActivator, change @ApplicationPath("/rest") to @ApplicationPath("rest")
- Do Run As > Run on Server on the GET rest/members endpoint in the JAX-RW Web Services node
- Assert the WS Tester opens with http://localhost:8080/jboss-as-kitchensink-html5-mobile/rest/members
FAIL : URL is http://localhost:8080/jboss-as-kitchensink-html5-mobilerest/members
JAX-RS doc says leading slashes are not mandatory for @Path, but I didn't see any mention of ApplicationPath (my guess is the rule should be consistent). At least, the application server doesn't puke on it so it's a valid use case to me.
Attachments
Issue Links
- is cloned by
-
JBIDE-16476 Run As on JAX-RS Node generates wrong URI if Application path has no leading slash
- Closed