Axis2
  1. Axis2
  2. AXIS2-5263

Inherited methods are not identified as web service operations for POJO's

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.6, 1.6.2
    • Fix Version/s: 1.7.0
    • Component/s: kernel
    • Labels:
      None

      Description

      I just wrote a simple service in which the service class is extending another class. Base class contains some methods and in my service class I've added some more. So I wrote a simple services.xml using the RPC MR and deployed it. But I don't see the inherited methods as operations in my WSDL.

      Thanks,
      ~Isuru

        Activity

        Hide
        Hudson added a comment -

        Integrated in Axis2 #1463 (See https://builds.apache.org/job/Axis2/1463/)
        Fixed AXIS2-5263 - Added support for inherited method other than method defined in java.lang.Object. (Revision 1338257)

        Result = SUCCESS
        sagara :
        Files :

        • /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
        Show
        Hudson added a comment - Integrated in Axis2 #1463 (See https://builds.apache.org/job/Axis2/1463/ ) Fixed AXIS2-5263 - Added support for inherited method other than method defined in java.lang.Object. (Revision 1338257) Result = SUCCESS sagara : Files : /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
        Hide
        Hudson added a comment -

        Integrated in Axis2 #1600 (See https://builds.apache.org/job/Axis2/1600/)
        AXIS2-5263: It may make sense to generate operations for inherited methods, but definitely not for methods inherited from java.lang.Object. Note that this should also fix a build failure related to changes introduced by AXIS2-5335 and that occurs on most JDKs (except the one used by Jenkins). (Revision 1355084)

        Result = SUCCESS
        veithen :
        Files :

        • /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/AbstractPOJO-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/CharArrayAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ColectionAsParameter-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/CollectionAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ConcretePOJO-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/CustomExceptionCheck-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DOMasParameter-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DOMasParameter-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DomAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DomAsReturnType-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DoubleArrayAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/EnumAsParameter-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/EnumAsReturnType-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ExtendedPOJO-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/IntArrayAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ListAsParameter-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ListAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/MapAsParameter-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/MapAsReturnType-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/MappingCheckwith_custom_mapping-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/NoParameterOrReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/NoParameterOrReturnTypewith_custom_schema-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/NoParameterOrReturnTypewith_custom_schema-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/POJOAsReturnType-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PojoAsParameter-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitiveArraysAsParametrs-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitivesAsParameters-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitivesAsParameterswith_custom_schema-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitivesAsParameterswith_custom_schema-2.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/RunTimeExceptionCheck-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/StringAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/charAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/doubleAsReturnType-1.xml
        • /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/intAsReturnType-1.xml
        Show
        Hudson added a comment - Integrated in Axis2 #1600 (See https://builds.apache.org/job/Axis2/1600/ ) AXIS2-5263 : It may make sense to generate operations for inherited methods, but definitely not for methods inherited from java.lang.Object. Note that this should also fix a build failure related to changes introduced by AXIS2-5335 and that occurs on most JDKs (except the one used by Jenkins). (Revision 1355084) Result = SUCCESS veithen : Files : /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/AbstractPOJO-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/CharArrayAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ColectionAsParameter-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/CollectionAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ConcretePOJO-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/CustomExceptionCheck-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DOMasParameter-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DOMasParameter-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DomAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DomAsReturnType-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/DoubleArrayAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/EnumAsParameter-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/EnumAsReturnType-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ExtendedPOJO-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/IntArrayAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ListAsParameter-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/ListAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/MapAsParameter-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/MapAsReturnType-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/MappingCheckwith_custom_mapping-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/NoParameterOrReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/NoParameterOrReturnTypewith_custom_schema-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/NoParameterOrReturnTypewith_custom_schema-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/POJOAsReturnType-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PojoAsParameter-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitiveArraysAsParametrs-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitivesAsParameters-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitivesAsParameterswith_custom_schema-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/PrimitivesAsParameterswith_custom_schema-2.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/RunTimeExceptionCheck-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/StringAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/charAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/doubleAsReturnType-1.xml /axis/axis2/java/core/trunk/modules/kernel/test-resources/schemas/doc_lit_generator/intAsReturnType-1.xml

          People

          • Assignee:
            Sagara Gunathunga
            Reporter:
            Isuru Eranga Suriarachchi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development