Cannot pass @QueryParam parameters to @POST method in JAX-RS web service
Issue
-
I have a REST web service with this
POST
method:@POST @Path("/doSomething") public String doSomething(@QueryParam("param") String param) throws Exception;
-
I am able to call it from external applications but not able to pass the parameter (
param
). The parameter is alwaysnull
.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.x
- Red Hat JBoss Fuse (Fuse)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.