Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
6 replies Latest Post - ‏2013-02-04T15:25:11Z by DomV
wwxu
wwxu
13 Posts
ACCEPTED ANSWER

Pinned topic Bottom up EJB Web Service wizard wont work in RAD 8.5 with WAS 8.5

‏2012-09-05T20:14:38Z |
Below is what we got when running this wizard:
The configuration was: Server runtime: WAS v8.5
Web Service runtime: IBM WebSphere JAX-RPC
EJB 3.0 project.

IWAB0014E Unexpected exception occurred.

java.lang.NullPointerException
at com.ibm.etools.webservice.was.consumption.command.InitializeEmitterExtensionCommand.execute(Unknown Source)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(Unknown Source)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(Unknown Source)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(Unknown Source)
at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown 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.SimpleCommandEngineManager.runForwardToNextStop(Unknown Source)
at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(Unknown Source)
at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(Unknown Source)
at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.eclipse.jface.window.Window.open(Unknown Source)
at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$7.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Updated on 2013-02-04T15:25:11Z at 2013-02-04T15:25:11Z by DomV
  • b18c1ek4
    b18c1ek4
    4 Posts
    ACCEPTED ANSWER

    Re: Bottom up EJB Web Service wizard wont work in RAD 8.5 with WAS 8.5

    ‏2012-09-12T14:37:15Z  in response to wwxu
    Experiencing the exact problem currently

    Migrated a projected from Rational 6 to 7 then 8.5 and now I am unable to regenerate my Bottom up EJB Web Service. I get the error displayed above when I right click my session bean -> Web Service -> create web service then click Next in the wizard.

    Any suggestions??
  • b18c1ek4
    b18c1ek4
    4 Posts
    ACCEPTED ANSWER

    Re: Bottom up EJB Web Service wizard wont work in RAD 8.5 with WAS 8.5

    ‏2012-09-12T14:45:56Z  in response to wwxu
    I am also using RAD 8.5 , WAS 8.5, and attempting to create a JAX-RPC Service

    However if i create a new workspace and new EJB project i am able to sucessfully create a Bottom up EJB WS.
  • b18c1ek4
    b18c1ek4
    4 Posts
    ACCEPTED ANSWER

    Re: Bottom up EJB Web Service wizard wont work in RAD 8.5 with WAS 8.5

    ‏2012-09-13T23:59:39Z  in response to wwxu
    ok my work around was to rebuild/re-create (very time consuming) my project in a new workspace.

    I still cannot figure out how to re-generate my Bottom up EJB Web Service from a migrated RAD 8.5 workspace.

    When i migrated my project from RAD 6 to 7 i was able to regenerate my service easily.

    I have more projects to migrate, I would really love to get a simple resolution.
    • wwxu
      wwxu
      13 Posts
      ACCEPTED ANSWER

      Re: Bottom up EJB Web Service wizard wont work in RAD 8.5 with WAS 8.5

      ‏2013-01-27T20:48:23Z  in response to b18c1ek4
      RAD8.5.1 had this issue fixed. We are able to re-generate Bottom Up EJB Web Service from an existing workspace in RAD8.5.1 now.

      New issue is that, in a new workspace, when we fresh check out projects, which have been previously migrated to 8.5 compatible, then the RAD8.5.1 just won't generate those derived classes for the JAX-RPC services. Or in an existing workspace, when we change the URL of a JAX-RPC client in the WSDL file, the RAD8.5.1 just won't re-generate the derived classes. when the URL in the derived ...ServiceLocator.java is not updated accordingly, the service calls fail.

      Workaround is to copy/paste derived classes over to new workspaces or manually update derived classes in existing workspace. This is not a pleasant task in an organization where multiple developers are concurrently developing the same EAR.
      • SystemAdmin
        SystemAdmin
        14225 Posts
        ACCEPTED ANSWER

        Re: Bottom up EJB Web Service wizard wont work in RAD 8.5 with WAS 8.5

        ‏2013-01-28T09:51:51Z  in response to wwxu
        Hello,

        If with "Derived classes" you mean the _Ser, _Deser, _Helper classes that should be generated for a JAX-RPC Web Service when calling "Java EE->Prepare for Deployment" or Publishing, then this is an issue that support/development are looking into for RAD 8.5.1.
        I would recommend that you open a PMR:

        https://www-947.ibm.com/support/servicerequest/Home.action

        Thank you and regards, Lara
        • DomV
          DomV
          1 Post
          ACCEPTED ANSWER

          Re: Bottom up EJB Web Service wizard wont work in RAD 8.5 with WAS 8.5

          ‏2013-02-04T15:25:11Z  in response to SystemAdmin
          FYI - PM81606: Prepare for Deployment does not generate JAX-RPC code