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/08/28 14:44:46 UTC

DO NOT REPLY [Bug 12116] New: - WSDL2Java doesn't generate compilable code for xsd:hexBinary

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

WSDL2Java doesn't generate compilable code for xsd:hexBinary

           Summary: WSDL2Java doesn't generate compilable code for
                    xsd:hexBinary
           Product: Axis
           Version: beta-3
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: jesper.soderlund@smarttrust.com


With the following WSDL snippet 
"<xs:simpleType name="AIDType">
	<xs:restriction base="xs:hexBinary">
		<xs:maxLength value="16"/>
		<xs:minLength value="5"/>
	</xs:restriction>
</xs:simpleType>"

The following, non-compilable code, is generated in the AIDType.java-file:

"
    // Simple Types must have a String constructor
    public AIDType(java.lang.String value) {
        this.value = new byte[](value);
    }
"