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

Jeff MAURY (JIRA) issues at jboss.org
Wed Apr 18 12:15:14 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-22377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff MAURY updated JBIDE-22377:
-------------------------------
    Fix Version/s: 4.6.x
                       (was: 4.5.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.6.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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list