]
Dmitrii Bocharov updated JBIDE-22377:
-------------------------------------
Fix Version/s: 4.5.x
(was: 4.4.x)
Jax RS service - Run on Server: default id value is ignored in WS
tester
------------------------------------------------------------------------
Key: JBIDE-22377
URL:
https://issues.jboss.org/browse/JBIDE-22377
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.4.0.Alpha1
Reporter: Jan Richter
Assignee: Xavier Coulon
Fix For: 4.5.x
I have a project with the following jax-rs service:
{noformat}
@Path("/rest")
public class Service {
@GET
@Path("/{id}")
public String mainService(@PathParam("id") @DefaultValue("0")
Integer id,
@MatrixParam("m1") @DefaultValue("m1") String m1,
@QueryParam("q1") @DefaultValue("q1") String q1) {
return id + " " + m1 + " " + q1;
}
}
{noformat}
When I select 'run on server' on the service endpoint and then invoke the opened
service tester, it shows blank id value even when the default is set to 0.