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=13923>.
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=13923

default value for attributes ignored in generated serialization class

           Summary: default value for attributes ignored in generated
                    serialization class
           Product: Axis
           Version: 1.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The XML schema attribute "reset" in following complexType does not have an 
initalizer in generated class, even though the wsdl schema type defaults to 
true.

<complexType name="Property">
    ...
    <attribute name="reset" type="xsd:boolean" default="true"/>
    ...
</complexType>

generates:

/**
 * Property.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package org.oasis_open.www;

public class Property  implements java.io.Serializable {
    ...
    private boolean reset;  // attribute

    public Property() {
    }
...
(same if default is false)

Reply via email to