Java-to-WSDL

Inherited Methods are not supported

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.3
  • Fix Version/s: 2.4
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide
    • Create an EJB project.
    • Add some methods in the local interface.
    • Create a remote interface that extends the local one but adds no method.

    Use the Java to WSDL library (currently based on EasyWSDL) to generate a WSDL from the remote interface.
    The WSDL contains not operation.

    This is because the implementation uses Class#getDeclaredMethods() which only gets the methods from the current class (and all the methods) except the inherited ones. We should only get the public methods, from the current class and the super classes.

    Therefore, we should use Class#getMethods().

    Show
    • Create an EJB project.
    • Add some methods in the local interface.
    • Create a remote interface that extends the local one but adds no method.
    Use the Java to WSDL library (currently based on EasyWSDL) to generate a WSDL from the remote interface. The WSDL contains not operation. This is because the implementation uses Class#getDeclaredMethods() which only gets the methods from the current class (and all the methods) except the inherited ones. We should only get the public methods, from the current class and the super classes. Therefore, we should use Class#getMethods().
  • Environment:
    -

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1d 56m
1
Vincent Zurczak
Thu, 26 Apr 2012 - 13:12:31 +0200
Open Open In Progress In Progress
3s
1
Vincent Zurczak
Thu, 26 Apr 2012 - 13:12:34 +0200
In Progress In Progress Resolved Resolved
51s
1
Vincent Zurczak
Thu, 26 Apr 2012 - 13:13:25 +0200
Resolved Resolved Closed Closed
5s
1
Vincent Zurczak
Thu, 26 Apr 2012 - 13:13:30 +0200

People

Dates

  • Created:
    Wed, 25 Apr 2012 - 12:16:25 +0200
    Updated:
    Thu, 26 Apr 2012 - 13:13:30 +0200
    Resolved:
    Thu, 26 Apr 2012 - 13:13:25 +0200