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

Vincent Zurczak made changes - Thu, 26 Apr 2012 - 13:12:31 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Vincent Zurczak made changes - Thu, 26 Apr 2012 - 13:12:34 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Vincent Zurczak added a comment - Thu, 26 Apr 2012 - 13:13:25 +0200

Commit #32233

Show
Vincent Zurczak added a comment - Thu, 26 Apr 2012 - 13:13:25 +0200 Commit #32233
Vincent Zurczak made changes - Thu, 26 Apr 2012 - 13:13:25 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.4 [ 10360 ]
Resolution Fixed [ 1 ]
Vincent Zurczak made changes - Thu, 26 Apr 2012 - 13:13:30 +0200
Status Resolved [ 10004 ] Closed [ 10005 ]
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