Hello,

When I use the eclipse (GUI) wizard to generate code from my wsdl file
(right clicking on the wsdl file, choosing Web Services and then Generate
Java bean Skeleton) when I press the next button and get to the Axis2 Web
Service Skeleton Java Bean Configuration screen the service name, port name
and any other field (except databinding which is set to ADB) appears empty.
Pressing Next (or Finish) generates the error message below

Two notes:
1. using the command prompt wsdl2java script works.
2. using the GUI wizard on a different WSDL file works. I could not find any
difference between the files (e.g. missing fields) other than the amount of
functions and the use of custom object types.

Any idea anyone?

Thanks!
Yoav

-----
Exception occurred during code generation for the WSDL  : null
    java.lang.ArrayIndexOutOfBoundsException: 68
    at
org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil.visitAllFiles(ClassLoad
ingUtil.java:114)
    at
org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil.visitAllFiles(ClassLoad
ingUtil.java:110)
    at
org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil.visitAllFiles(ClassLoad
ingUtil.java:110)
    at
org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil.visitAllFiles(ClassLoad
ingUtil.java:110)
    at
org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil.getAxis2Libs(ClassLoadi
ngUtil.java:99)
    at
org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil.init(ClassLoadingUtil.j
ava:50)
    at
org.eclipse.jst.ws.axis2.creation.core.command.Axis2WSDL2JavaCommand.execute
(Axis2WSDL2JavaCommand.java:99)
    at
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.run
Command(CommandFragmentEngine.java:419)
    at
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.vis
itTop(CommandFragmentEngine.java:359)
    at
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.mov
eForwardToNextStop(CommandFragmentEngine.java:254)
    at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6
.run(SimpleCommandEngineManager.java:294)
    at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.jav
a:458)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:366)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
    at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.r
unForwardToNextStop(SimpleCommandEngineManager.java:264)
    at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForward
ToNextStop(WizardPageManager.java:91)
    at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPag
e(WizardPageManager.java:154)
    at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage
(SimpleWizardPage.java:136)
    at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
    at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at
org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHand
ler.java:253)
    at
org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:27
3)
    at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Parameteriz
edCommand.java:508)
    at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerServic
e.java:169)
    at
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHan
dlerService.java:247)
    at
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.jav
a:157)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Action
ContributionItem.java:583)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionI
tem.java:500)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribu
tionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.
java:113)
    at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
193)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to