PK66468: IWAB0014E UNEXPECTED EXCEPTION OCCURRED WHEN GENERATING WEBSERVICE CLIENT WITH WSDL CONTAINING HYPHENS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Microsoft Windows XP SP1/2
     - Product name IBMᄅ Rationalᄅ Software Architect 7006
       and IBMᄅ Rationalᄅ Application Developer 7006
    Reproducible Y/N: Y
    Description of problem:
    The generation of webservice client may fails with the following
    stacktrace
    when the wsdl file contains hyphens:
    IWAB0014E Unexpected exception occurred.
          java.lang.NullPointerException at
    com.ibm.etools.webservice.was.consumption.ui.task.Stub2BeanTask.
    getPortMethodsForServiceClass(Unknown Source) at
    com.ibm.etools.webservice.was.consumption.ui.task.Stub2BeanTask.
    execute(Unknown Source)
    if the wsdl file contains hyphens.
    

Local fix

  • Removing the usage of hyphens usually resolved the error
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Toolkit v6.1.1 and Rational Application     *
    *                  Developer v7.0                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: If a WSDL contains a service name       *
    *                      containing a hyphen character then      *
    *                      webservice client code generation       *
    *                      will fail.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a WSDL contains a service name containing a hyphen
    character then webservice client code generation will fail.
    
    For example:
    
    <wsdl:service name="_-Test_MyService">
     <wsdl:port name="_-Test_MyServiceSoapBinding"
    binding="tns:_-Test_MyService_WSSoapBinding">
      ...
     </wsdl:port>
    </wsdl:service>
    
    will cause an error during Proxy code generation.
    

Problem conclusion

  • Hyphens will now be removed from the service class name used
    during Proxy code generation to ensure that the right service
    class name is located for introspection.
    
    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

    PK66468

  • 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-05-22

  • Closed date

    2008-05-28

  • Last modified date

    2008-05-28

  • 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



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Application Server
Application Server Toolkit (AST)

Software version:

6.1

Reference #:

PK66468

Modified date:

2008-05-28

Translate my page

Machine Translation

Content navigation