Xavier Coulon created JBIDE-18710:
-------------------------------------
Summary: Invalid generated code in JAX-RS Endpoint
Key: JBIDE-18710
URL:
https://issues.jboss.org/browse/JBIDE-18710
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.2.0.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.1.Final, 4.3.0.Alpha1
The generated code in the 'create' method contains something like this:
{code}
return Response.created(
UriBuilder.fromResource(Session.class)
.path(String.valueOf(session.getId())).build()).build();
{code}
but the {{Session.class}} should be {{SessionEndpoint.class}} since it must be the
resource class annotated with {{@Path}}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)