IBM Support

PM05337: WSGEN IS FAILING TO RESOLVE JAX-WS COMPONENTS RESULTING IN NAMESPACE ERRORS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • wsgen is generating invalid schema in some scenarios
    involving inner classes, which may result in namespace errors.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All developers of IBM WebSphere Application *
    *                  Server JAX-WS applications.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The wsgen tool is unable to resolve     *
    *                      some JAX-WS components, and may         *
    *                      produce an invalid schema file.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Generating a JAX-WS web service using the Application
    Server Toolkit or with the wsimport command line tooling
    may result in multiple namespace errors.
    .
    Example:
    warning: src-resolve.4.1: Error resolving component 'XXXX'. It
    was detected that 'XXXX' has no namespace, but components with
    no target namespace are not referenceable from schema
    document 'YYYY.xsd'.
    .
    The invalid schema was produced by the wsgen tool.
    

Problem conclusion

  • The wsgen tool fails to properly map some inner class types and
    generates element references which are not properly
    qualified.  Namespace errors may occur when the schema is then
    consumed by any schema parser or validation tool.
    .
    The wsgen tool now generates correct schema files with properly
    qualified element references.
    .
    The fix for this APAR is currently targeted for inclusion in
    fix pack 6.1.0.33.  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

    PM05337

  • Reported component name

    WEBSERVIC FEATU

  • Reported component ID

    5724J0850

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-18

  • Closed date

    2010-06-03

  • Last modified date

    2010-06-03

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

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

Modules/Macros

  • WEBSVCS
    

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 October 2021