Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3459

The XSD2Java generation of the following XSD files produces wrong source code (unexisting methods in ConverterUtil class).

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.3
    • None
    • codegen
    • None
    • Windows XP/Vista, Java 1.4.2_15

    Description

      The XSD2Java generation of the following XSD files produces wrong source code (not compilable). The reference of XSD elements defined in imported XSD files produces wrong (unexisting) method calls of the ConverterUtil class.

      The attachment cm.zip containes the files CmCcServiceRequest.xsd, CmCcServiceResponsexsd.
      Please call somthing like XSD2Java CmCcServiceRequest.xsd c:/temp
      In the generated files (e.g. UpdatePerformed.java) you can find unexisting method calls for the class ConverterUtil:

      object.setUpdateId(org.apache.axis2.databinding.utils.ConverterUtil.convertToUpdateId_type0(content)); // the method convertToUpdateId_type0() does not exist

      Attachments

        1. cm.zip
          11 kB
          Heinz Zerbes

        Activity

          People

            Unassigned Unassigned
            zerbes Heinz Zerbes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: