Hello,

Recently we discovered that, after generating some Java artifacts using 
wsdl2java, Axis would add a helper or convenience method for setting elements 
in an array.

For example, if the class whose artifacts were being generated has a String[] 
instance variable called 'address', Axis would create a method similar to the 
following signature:

public void setAddress(int i, String s);

The problem is that when we distribute the Java artifacts to customers they 
always seem to try to use these helper methods, which then throw null pointers 
because the String[] address variable is not initialized in the constructor.

Yes, I could instruct them not to use it (and we do), but it's happened enough 
times that I'd like to inquire if there's a way to turn off this functionality. 
 Axis is awesome and we love it, but this particular behavior is a bit of a 
nuisance.

Thanks in advance,
Andre

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to