Hi,
thanks for replying to my question. I will try to describe it a little bit
more. I would like to do something like that:
@GET
@Path("/list")
@Produces(MediaType.APPLICATION_JSON)
public Response getList(@PathParam("host") String host,
@QueryParam("port") String port, @QueryParam("user")
String user,
@QueryParam("password") String password) {
return null;
}
before I send the post data. I just simply need to get data from URL.
My URL looks like this:
http://localhost:1555/cxf/127.0.0.1/list?port=443&user=myuser&password=mypassword
I will use MessageContentsList to grab values from PathParams and then I set
properties:
String knowledgetreeHost = (String) msgList.get(0);
String port = (String) msgList.get(1);
exchange.setProperty("PORT", port);
I am able to do this but only for @GET.
I need to combine this @GET producer with @POST consumer from my previous
post
-Br, Roman
--
View this message in context:
http://cxf.547215.n5.nabble.com/MultipartBody-with-PathParam-and-QueryParam-tp5724291p5724293.html
Sent from the cxf-user mailing list archive at Nabble.com.