I am unable to read the xml value from @QueryParam using restful service in mule.
@Path("/hello")
public class Resttest {
@GET
@Produces("text/xml")
public String sayHelloWithUri(@QueryParam("body") String g) {
System.out.println("............................wdwedfwfw2"+g);
return g;
}
request xml : http://< mydomain>:8080/jersey/hello/?body=< ?xml version="1.0" encoding="UTF-8" ?>< Options>< Option>car< /Option>< Option>Bike< /Option>< /Options>