Hi feh,

What would the signature of my method need to look like? What would the WSDL
look like?


Not sure for WSDL, but this should work (and Axis2 will generate WSDL):


public int add(int param1, int param2, int param3) {
   return param1 + param2 + param3;
}

You could invoke your service like

http://127.0.0.1:8080/axis2/rest/serviceName/serviceOperation?param1=1&param2=10&param3=123


For variable number of parameters I beleive it is not possible to use REST.

Regards,
Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to