axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Galpin <cgal...@lhsw.com>
Subject complex parameters in http requests
Date Wed, 22 Dec 2010 23:03:46 GMT
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


Mime
View raw message