You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/17 20:21:20 UTC
DO NOT REPLY [Bug 12480] -
WSDL complextype containing sequence generates BAD Java class
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12480>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12480
WSDL complextype containing sequence generates BAD Java class
butek@us.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From butek@us.ibm.com 2002-09-17 18:21 -------
We had to change to follow the JavaBean spec. Beans are not supposed to
initialize arrays. We were violating a JavaBean rule. Beans are supposed to
have arrays handed to them.
If you used to call:
bean.setTpAddress(0, value1);
bean.setTpAddress(1, value2);
bean.setTpAddress(2, value3);
You should really call:
bean.setTpAddress(new TpAddress[3]);
bean.setTpAddress(0, value1);
bean.setTpAddress(1, value2);
bean.setTpAddress(2, value3);