Skip to Content
0
Former Member
Jan 25, 2010 at 12:00 PM

error in WSDL to Web services creation.

25 Views

I am trying to create a web service in top down approach. I first created the WSDL and then trying to create a web service out of it . Though i dont use EJB in my project i am getting the below error.

How do i rectify it.

**************************************Error************************************

IWAB0014E Unexpected exception occurred.

java.lang.NullPointerException

at com.sap.ide.j2ee.servicelayer.ejb.EjbFactory.createEnterpriseBean30(EjbFactory.java:378)

at com.sap.ide.j2ee.servicelayer.ejb.EjbFactory.createEnterpriseBean30(EjbFactory.java:342)

at com.sap.ide.j2ee.external.ejb.EjbFactory.createStatelessBean30(EjbFactory.java:739)

at com.sap.ide.jee.ws.jee5.runtime.provider.internal.generator.endpoint.Ejb3StatelessBeanGenerator.createEjb3Bean(Ejb3StatelessBeanGenerator.java:127)

at com.sap.ide.jee.ws.jee5.runtime.provider.internal.generator.endpoint.Ejb3StatelessBeanGenerator.generate(Ejb3StatelessBeanGenerator.java:69)

at com.sap.ide.jee.ws.jee5.core.provider.commands.GenerateTopDownWebService.generateEndpoints(GenerateTopDownWebService.java:133)

at com.sap.ide.jee.ws.jee5.core.provider.commands.GenerateTopDownWebService.doPostExecute(GenerateTopDownWebService.java:111)

at com.sap.ide.jee.ws.common.core.consumer.AbstractWsdl2JavaGenerationCmd$1.run(AbstractWsdl2JavaGenerationCmd.java:111)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)

at com.sap.ide.jee.ws.common.core.consumer.AbstractWsdl2JavaGenerationCmd.execute(AbstractWsdl2JavaGenerationCmd.java:123)

at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:418)

at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:358)

at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:253)

at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:252)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)

at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)

at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:222)

at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:96)

at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:255)

at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:380)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)

at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)

at org.eclipse.jface.window.Window.open(Window.java:796)

at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)

at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)

at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

Edited by: abubakarsiddiq on Jan 25, 2010 1:01 PM