I am trying the following with Axis
public class Foo()
{
public bar myMehtod()
{
bar[] b = new bar[5];
for(int i = 0; i < 5; i++)
{
bar[i] = new bar();
bar[i].setName("hello");
}
return b;
}
}
When I invoke this from a client a java.lang.NullPointerException as the
faultstring.
What am I doing wrong?
Regards
Vijay
