IBM Support

PK67458: RATIONAL APPLICATION DEVELOPER 7.0.0.6 MISSING WEBSPHERE 5.1 JAX_RPC WEB SVC PROXY GENERATION DUE TO NAME COLLISION IN WSDL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While using the Web Services wizard to create a WAS51 JAX-RPC
    web services client project from
    a WSDL file, the web services Generate Client wizard failed with
    IWAB0014E Unexpected exception occurred.
    
    The proxy for WASv5.1 web service was not able to generated.
    WAS51 wsdl2java fails due to a name collision problem in the
    WSDL file.
    Specifically ,a name collision between the complex type name and
    the
    service name.  In this example where both names are "PNInfo":
    
    <xsd:complexType name="PNInfo"> and <wsdl:service name="PNInfo">
    
    The two PNInfo.java
    (com.cnh.ebom. and com.cnh.ebom.icp.service.)
    were in conflict.
    

Local fix

  • A simple WORKAROUND, assuming you own the WSDL file,
    would be to change the Service name in the example from
    PNinfo to something else, such as PNInfoService.
    That is, change <wsdl:service name="PNInfo"> to
    <wsdl:service name="PNInfoService">
    and regenerate the web service,
    This workaround assumes you have control over the WSDL for this
    service
    and its is not already  used in production as is.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Toolkit v6.1.1 and Rational Application     *
    *                  Developer v7.0                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The webservice Proxy generation fails   *
    *                      with a NullPointerException due to the  *
    *                      service name and complex type name      *
    *                      being the same in the WSDL.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a WSDL contains a service that has the same name as a
    complex type then the JAX-RPC webservice proxy generation will
    fail with a NullPointerException.
    

Problem conclusion

  • The error was happening because the complex type name and
    service name were being used directly from the WSDL when it
    should come from the JAX-RPC mapping file since the underlying
    WAS webservice emitter will change the names.
    
    The fix for this APAR is currently targeted for inclusion in
    the WebSphere Application Server Toolkit fixpack 6.1.1.8 and
    Rational Application Developer fixpack 7.0.0.8.  Please refer
    to the following Recommended Updates page for WebSphere
    Application Server Toolkit delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    and the following Recommended Updates page for Rational
    Application Developer delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27007823
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK67458

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-06-10

  • Closed date

    2008-06-12

  • Last modified date

    2008-06-26

  • 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

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 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:
23 October 2021