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=17228>. 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=17228 JavaBeanWriter generates isIs accessors when processing a wsdl where boolean values start with is Summary: JavaBeanWriter generates isIs accessors when processing a wsdl where boolean values start with is Product: Axis Version: 1.1beta Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: WSDL processing AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] JavaBeanWriter generates isIs accessors when processing a wsdl where boolean values start with "is" e.g. a WSDL sequence which has an element isReadable will result in a bean which has an accessor isIsReadable() and a mutator setReadable(). It would be nice if this was correctly interpreted as the accessor isReadable() and mutator setReadable(). The following change to org.apache.axis.wsdl.toJava.JavaBeanWriter will fix it: The code is to be inserted after line 495 in 1.1 beta (some context provided) String name = (String) names.get(i + 1); //----- Start change if (typeName.equals("boolean") && name.startsWith("is")) { if ((name.length()>2) && Character.isUpperCase(name.charAt(2))) { name=name.substring(2); } } //----- end change String capName = Utils.capitalizeFirstChar(name);