Error reading a bean with an attribute "array of strings" from Axis WS
posted 7 years ago
Hi, I have created a web service , with Axis, which returns a bean with some attributes. Among all the attributes, one of them is an array of Strings. If a create a J2EE client, it works perfectly, but when I create a J2ME client I am not able to read the array from the bean. It seems that in the stub created the type of the array of Strings have changed into a new type (ArrayOf_xsd_string) and there seems to be a method to get the array of strings: getItem(). But if I use it I get o get the String from the ArrayOf_xsd_string, I get a null pointer exception.