PM91637: Generating JAX-RPC Java code from a WSDL might result in an unresolved type error

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to generate JAX-RPC Java code from a WSDL might results
    in an unresolved error indicating that a required referenced
    class cannot be found.
    
    Problem:
    
    You find errors in the Java editor with WebSphere Application
    Server v8.0 JAX-RPC generated Java code, such as the below
    underlined in red after generate
    
    webservice.setStyle(com.ibm.ws.webservices.engine.enumtype.Style
    .WRAPPED)
    
    For each case, the exact error is as per below:
    'The type com.ibm.ws.webservices.engine.enum.Style cannot be
    resolved. It is indirectly referenced from required .class
    files'
    
    The error message is misleading because the type/class is
    actually present in the JAR file but doesn't cause any harm, so
    apart from confusion during editing the file there should be no
    other impact on you.
    
    Local fix:
    
    Change the Java Compiler Compliance Level back to 1.4 as below
    if your project has compatibility with JDK 1.4.
    
    1. Right Click the project
    2. Select properties --? Java Compiler
    3. Cancel 'Use default compliance settings'
    4. Change Source compatibility from 1.6 to 1.4
    5. Select Ignore in Disallow identifiers called 'enum'
    6. Apply and click 'OK'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Generating JAX-RPC Java code from a WSDL might result in an
    unresolved type error.
    
    For more technical information, see:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=410207
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer v8.5.5.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM91637

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-23

  • Closed date

    2014-07-21

  • Last modified date

    2014-07-21

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R800 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Application Developer for WebSphere Software

Software version:

8.0

Reference #:

PM91637

Modified date:

2014-07-21

Translate my page

Machine Translation

Content navigation