Axis2
  1. Axis2
  2. AXIS2-3459

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: codegen
    • Labels:
      None
    • Environment:
      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

      1. cm.zip
        11 kB
        Heinz Zerbes

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Heinz Zerbes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development