axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Galpin <>
Subject complex parameters in http requests
Date Wed, 22 Dec 2010 23:03:46 GMT

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

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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message