Error reading a bean with an attribute "array of strings" from Axis WS
Guadalupe Ortiz
Ranch Hand
Joined: Sep 12, 2003
Posts: 74
posted
0
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.
Any suggestion is welcome. Thanks lot!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Error reading a bean with an attribute "array of strings" from Axis WS