[jbosstools-issues] [JBoss JIRA] (JBIDE-22377) Jax RS service - Run on Server: default id value is ignored in WS tester

Jan Richter (JIRA) issues at jboss.org
Wed May 18 09:07:00 EDT 2016


Jan Richter created JBIDE-22377:
-----------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list