IBM Support

PM93156: Creating Web Service Client results in IndexOutOfBoundsException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to create Web Service Client from WSDL result in
    IndexOutOfBoundsException.  The issue occurs when the target
    project for the client generation is an EJB which contains no
    session beans.
    
    Problem:
    
    You can reproduce this issue from following steps:
      a. Navigate to WebContent ? WEB-INF ? XXXXX.wsdl
      b. Right click and select Web Services ? Generatate Client
      c. Click 'Client project' link and select EJB project and
    click OK. (WAS 8.5, JAX-WS)
      d. Click Next
      e. Make sure Gernerate ibm-webserviceclient-bind.xml template
    for item is checked.
      f. Click Finish
    
    Then you will see following error:
    
    If you choose Dynamic web project on step c or uncheck the
    option on step e, it doesn't happen.
    
    !MESSAGE index=0, size=0
    !STACK 0
    java.lang.IndexOutOfBoundsException: index=0, size=0
        at org.eclipse.emf.ecore.util.BasicFeatureMap.get(Unknown
    Source)
        at
    org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.get(Unkno
    wn
    Source)
        at
    com.ibm.ast.ws.jaxws.creation.command.GenerateIBMWSBndXMICommand
    .execute(Unknown
    Source)
        at
    org.eclipse.wst.command.internal.env.core.fragment.CommandFragme
    ntEngine.runCommand(Unknown
    Source)
        at
    org.eclipse.wst.command.internal.env.core.fragment.CommandFragme
    ntEngine.visitTop(Unknown
    Source)
        at
    org.eclipse.wst.command.internal.env.core.fragment.CommandFragme
    ntEngine.moveForwardToNextStop(Unknown
    Source)
        at
    org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEng
    ineManager$6.run(Unknown
    Source)
        at
    org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unkn
    own
    Source)
        at org.eclipse.jface.operation.ModalContext.run(Unknown
    Source)
        at org.eclipse.jface.wizard.WizardDialog.run(Unknown Source)
        at
    org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEng
    ineManager.runForwardToNextStop(Unknown
    Source)
        at
    org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManage
    r.runForwardToNextStop(Unknown
    Source)
        at
    org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManage
    r.performFinish(Unknown
    Source)
        at
    org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.pe
    rformFinish(Unknown
    Source)
    
    Local fix:
    
    There is no known workaround at this time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Creating a JAX-RPC web service client from a WSDL might
    result in a IndexOutOfBoundsException.
    

Problem conclusion

  • This problem is a permanent limitation of the v8.5 release;
    however, a test fix is available if needed.  Please contact
    IBM support to request this fix if it is required.
    
    The fix for this APAR is included in Rational Application
    Developer v9.0.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM93156

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-17

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R850 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 December 2013