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

Enum values are bad in generated Impl and TestCase

           Summary: Enum values are bad in generated Impl and TestCase
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Given XML:

<simpleType name="enumInt">
  <restriction base="xsd:int">
    <enumeration value="-2147483648" />

    <enumeration value="2147483647" />

  </restriction>

</simpleType>

The generated impl and test case code has lines like:

EnumIntHolder varEnumInt.value = 
com.sun.ts.tests.jaxrpc.ee.w2j.rpc.encoded.parametermodetest.EnumInt.-2147483648
;

This was discovered during TCK testing.  The Impl file is generated when you 
specify WSDL2Java -s.  This file won't compile, but it can be deleted.  So I can 
still proceed with the TCK.

Reply via email to