You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by TomazM <to...@arnes.si> on 2008/10/23 14:19:36 UTC

axis 1.4 problems with php associative array

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