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

Mising type for Parent Class in WSDL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.2, nightly
    • None
    • wsdl
    • None

    Description

      Using a POJO Service with derived parameter causes generation of a wsdl-schema without any type definition for the parent class:

      class MyService{
      public String service(A param)

      { return "finished"; }

      }

      class B{
      private String paramB;

      // Getter & Setter
      }

      class A extends B{
      //properties, getter & setter
      }

      Generated WSDL:

      <comlpexType name="A">
      <xs:complexContent>
      <xs:extension base="ax21:B">
      <!-- ... -->
      </xs:extension>
      </xs:complexContent>
      </complexType>

      Attachments

        1. MyService.aar
          7 kB
          Thomas Lueer
        2. patch.diff
          1 kB
          Thomas Lueer

        Issue Links

          Activity

            People

              deepal Deepal Jayasinghe
              thomas.lueer Thomas Lueer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: