axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Makundi <martin.maku...@koodaripalvelut.com>
Subject Re: complex parameters in http requests
Date Thu, 23 Dec 2010 06:32:39 GMT
Try SOAPUI

2010/12/23 Charles Galpin <cgalpin@lhsw.com>:
> Hi
>
> We often use http to test services, but usually with simple types for the arguments.
Is it possible to pass complex arguments? For example if I had a web method
>
> @WebMethod
> public void myMethod(int i, MyObj obj) {..}
>
> public class MyObj
> {
>        private double a;
>        private double b;
>        public double getA() { return a; }
>        public void setA(double a) { this.a = a; }
>        public double getB() { return b; }
>        public void setB(double b) { this.b = b; }
> }
>
> I can call it with http://localhost:8080/axis2/myService/myMethod?i=1&obj=XXX
>
> How can I put in the values for obj.a and obj.b?
>
> thanks,
> charles
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message