Re: Passing multi parameters to a post RESTful call

2010-04-01 Thread atest12
Thank you Sergey, your suggestion worked when I've added the annotation on my interface. Sergey Beryozkin-5 wrote: > > Hi, try adding @Consumes("application/x-www-form-urlencoded") > > cheers, Sergey > > -- View this message in context: http://old.nabble.com/Passing-multi-parameters-to-

Re: Passing multi parameters to a post RESTful call

2010-03-31 Thread atest12
This is my implemented class: public class HelloWorldServiceImpl implements HelloWorldService { public String sayHelloPost(String msg, String val) { String xml = "hello world " + msg + " and " + val + ""; return xml; } } I've tried the F

Passing multi parameters to a post RESTful call

2010-03-31 Thread atest12
Hello, I have following class using JAX-RS for restful web services. I want to pass multiple parameters to a post method. However, the values from the client call only populates the first parameter i.e. pmsg and not the pval parameter. @Path("/helloWorldService/") @WebService(serviceName = "He