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

Fix for the inner classes issue (attached)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M1, M2, 0.9, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 1.0, 1.1, 1.1.1, 1.2, 1.3
    • None
    • kernel
    • None
    • Apache Axis2 1.2 , Tomcat 5.5.23

    Description

      This fix concerns the usage of inner classes in java POJOs - When using java2wsdl , or having the correct WSDL, but trying to invoke the service itself, default object supplier fails with NPE, because the classes (inner ones) have to be instantiated recursively.

      I am attaching the fix. Thank you. This fix is related to :

      http://jira.codehaus.org/browse/ANNOGEN-20

      and:

      https://issues.apache.org/jira/browse/AXIS2-813

      but in fact several patches are needed to get it working, one of which concerns the DefaultObjectSupplier. The other patches are for the schema generator and the ANNOGEN library itself.

      Regards,
      Angel

      Attachments

        1. DefaultObjectSupplier.diff
          0.7 kB
          Angel Todorov

        Activity

          People

            deepal Deepal Jayasinghe
            attodorov Angel Todorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: