-
1. Re: Creation of a Web Service from a WSDL document
grid.qian May 17, 2010 12:59 AM (in response to rinia)If only the wizard can't be used, it should be eclipse problem, not jboss tools.
Anyway, could you upload the project and the error log view messages?
-
2. Re: Creation of a Web Service from a WSDL document
rinia May 17, 2010 3:37 AM (in response to grid.qian)Hi Feng,
thanks for your help. The Eclipse project is attached. In the Eclipse project you will find the test WSDL in the folder
WebContent/META-INF
I have generated now the classes manually by using wsconsume on the command line. Hmm, the error logs? Where could I find the error logs?
-
Identity.ws.zip 14.8 KB
-
-
3. Re: Creation of a Web Service from a WSDL document
grid.qian May 18, 2010 2:06 AM (in response to rinia)1 of 1 people found this helpfulIt works for me. I don't know the reason for your problem.
You can get the error message from error log view by Window->Show View->Others-> Error Log.
-
4. Re: Creation of a Web Service from a WSDL document
rinia May 18, 2010 4:22 AM (in response to grid.qian)Your assumption seems to be right. It seems an Eclipse problem (Web Standard Tools). Nevertheles, do you have any idea to remedy the problem?
Here is the error log:
null
Error
Tue May 18 09:58:28 CEST 2010
Unhandled event loop exceptionjava.lang.NullPointerException
at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.getRootFragment(DynamicWizard.java:412)
at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.init(DynamicWizard.java:280)
at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:185)
at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)
at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:823)
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:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
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(WizardHandler.java:253)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.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:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
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:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311) -
5. Re: Creation of a Web Service from a WSDL document
grid.qian May 18, 2010 6:26 AM (in response to rinia)No more ideas for this. create a new workspace to test, or download a new eclipse or jboss tools.
-
6. Re: Creation of a Web Service from a WSDL document
jlukas May 18, 2010 9:09 AM (in response to rinia)I had similar problem when I installed JBossTools to unsupported Eclipse variant. When I started with Eclipse IDE for Java EE Developers then everything worked as expected. Could this be the problem?
Note:
my steps were:
-install Eclipse Classic 3.5.2
-install JBossTools to it
-create Dynamic web project
-invoke New Web Service wizard
=> got the same error/exception
Console also shown:
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.jst.ws.creation.ui" was unable to instantiate class "org.eclipse.jst.ws.internal.creation.ui.widgets.binding.ServerWidgetBinding".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)...
seems like there's some dependency from WTP missing
Message was edited by: Lukas Jungmann
-
7. Re: Creation of a Web Service from a WSDL document
grid.qian May 19, 2010 5:09 AM (in response to jlukas)I think you should download the jee version of eclipse, not classic
-
8. Re: Creation of a Web Service from a WSDL document
maxandersen May 19, 2010 8:35 AM (in response to jlukas)How did you install jbosstools ?
If you used the updatesites it should have told you that it would need to get WTP dependencies which you wont have when running eclipse classic.
I'm surprised you could even startup with JBoss Tools without errors ?
-
9. Re: Creation of a Web Service from a WSDL document
jlukas May 19, 2010 10:44 AM (in response to maxandersen){quote}How did you install jbosstools ?{quote}
Don't know how Andreas but I did it through update site (3.1.0GA) and the only warning I saw in the update/install wizard was about unsatisfied BIRT dependencies. The start up went well, I did not notice any apparent errors but I did not run eclipse with '-debug' option nor did have opened Error Log view in the IDE.