axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TomazM <tomaz.majerh...@arnes.si>
Subject axis 1.4 problems with php associative array
Date Thu, 23 Oct 2008 12:19:36 GMT
I have php SOAP service which returning php associative array, when I use axis client I get
strange result.

code:
....
call.setReturnClass(HashMap.class);
msg = (HashMap<String, HashMap>) call.invoke(new Object[] {});
for(Object o : msg.values()) {
	System.out.println("obj " +o.getClass()+", isHashMap="+o.getClass().isInstance(new HashMap()));
					
}

I get:
class [Ljava.util.HashMap;


Enyone know how to typecsat or how to set setReturnType for associative array?


Best Regard, Tomaz
		

Mime
View raw message