IBM Support

PI29784: PUBLIC METHOD IN SUPER CLASS OF WEB SERVICES ANNOTED CLASS IS INCORRECTLY EXPOSED AS WEB SERVICE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The public method in super class of web services annotated
    class is incorrectly exposed as web services when the
    following two conditions are matched:
    1. either method in the super class has @WebMethod annotation
    2. there is no @WebService annotation in the super class.
    As a result, the following message is issued:
    
    PostRI216Meth W
    org.apache.axis2.jaxws.description.impl.PostRI216MethodRetriever
    Impl retrieveMethods Public method methodName will be exposed
    as a Web Service operation per JAX-WS 2.2 tooling rules. If you
    intend to expose only operations that have @WebMethod
    annotation, set the manifest property 'LegacyWebmethod: true'
    or set a JVM property 'jaxws.runtime.legacyWebMethod=true'
    
    
    Additional Symptom(s) Search Keyword(s): KIXREVxxx
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server V8.0 and   *
    *                  V8.5 users of JAX-WS web services.          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Public methods in super class of an SEI *
    *                      implementation class are incorrectly    *
    *                      exposed.                                *
    ****************************************************************
    * RECOMMENDATION:  Install the fix pack which includes this    *
    *                  APAR                                        *
    ****************************************************************
    WebService engine will scan the annotation to decide which
    method should be exposed if there is no defined WSDL file.
    When scanning the super class of an SEI implementation class
    which does not contain WebService annotation, only the methods
    which have WebMethod annotations should be exposed.
    However, currently if either method in this super class has
    WebMethod annotation, other public methods in the same class
    will be exposed.
    

Problem conclusion

  • The condition that decides which methods in the super class
    should be exposed has been corrected. Only those methods
    with WebMethod annotations in the super class will be exposed
    if there is no WebService annotation defined in the super
    class.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.11 and 8.5.5.6.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI29784

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-11-17

  • Closed date

    2015-01-13

  • Last modified date

    2015-07-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022