By the way, axis fails to properly serialize agregated arrays on server side if POJO is declared with field access level.
For example, it serializes an String as if it were a single String object but multiple times (multiplicitly is coincident)
If POJO is declared with method level access (private fields), then it works as expected.
| public class POJO
| String strings;
| public String getStrings()
| return strings;
| public void setStrings(String strings)
| this.strings = strings;
This does NOT work
public class POJO
| public String strings;
Update this post with the tcpmon captured packages for both cases.
Looks like a punishment for lazy people like my self :-).
It is also interesting to note that auto generated client code(axis-wsdl2java) does not explicitly fails on this behavior, it just deserializes wrongly.
This problem was first dicovered when testing with a .net client.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904310#3904310
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904310