1 Reply Latest reply on Apr 30, 2009 3:53 AM by Barry LaFond

    Error in

    Alexander Culum Newbie

      Hi,

      following your introduction in http://docs.jboss.org/teiid/designer/6.0/user-guide/importers-chapter.html#wsdl-to-web-service-import-section, I am not able to import a valid WSDL. Even a new created WSDL (with the WSDL wizard) cannot be imported.
      The same goes for "Import WSDL as Relational Source". After a quite long time, I get the attached exception.
      Apache Xerces seems to be missing, however I installed the Designer as described here:

      http://www.jboss.org/community/docs/DOC-13464

      Thanks and Regards

      Radgon

      org.eclipse.core.runtime.CoreException: The file F:\sandbox\teiid-designer-target-platform\eclipse\ws\Books Project\NewWSDLFile.wsdl could not be loaded
      at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.addResource(BasicWebServiceModelBuilder.java:194)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.addWsdlFilesInternal(WsdlSelectionPage.java:340)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage$3.run(WsdlSelectionPage.java:263)
      at com.metamatrix.ui.internal.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:80)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.addWsdlFiles(WsdlSelectionPage.java:256)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.handleAddWorkspaceWsdlFile(WsdlSelectionPage.java:919)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage$5.widgetSelected(WsdlSelectionPage.java:503)
      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$Import.executeHandler(WizardHandler.java:146)
      at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
      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(ParameterizedCommand.java:508)
      at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
      at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
      at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
      at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:97)
      at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
      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: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(EclipseAppLauncher.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)
      Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.jdom.JDOMException: java.lang.ClassNotFoundException: org.apache.xerces.parsers.DOMParser: org.apache.xerces.parsers.DOMParser
      at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
      at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
      at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
      at com.metamatrix.metamodels.wsdl.io.DelegatingResourceSet.getResource(DelegatingResourceSet.java:43)
      at com.metamatrix.modeler.internal.webservice.WebServiceResources.add(WebServiceResources.java:79)
      at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.addResource(BasicWebServiceModelBuilder.java:189)
      ... 51 more
      Caused by: org.jdom.JDOMException: java.lang.ClassNotFoundException: org.apache.xerces.parsers.DOMParser: org.apache.xerces.parsers.DOMParser
      at org.jdom.adapters.XercesDOMAdapter.getDocument(XercesDOMAdapter.java:149)
      at com.metamatrix.metamodels.wsdl.io.WsdlLoader.doOpenDom(WsdlLoader.java:189)
      at com.metamatrix.metamodels.wsdl.io.WsdlLoader.load(WsdlLoader.java:136)
      at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
      at com.metamatrix.metamodels.wsdl.io.WsdlResourceImpl.doLoad(WsdlResourceImpl.java:130)
      at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1445)
      at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1241)
      at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
      at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
      ... 55 more
      Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.DOMParser
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.jdom.adapters.XercesDOMAdapter.getDocument(XercesDOMAdapter.java:97)
      ... 63 more

        • 1. Re: Error in
          Barry LaFond Master

          This bug was logged as TEIIDDES-37 and is fixed in the latest SNAPSHOT we released this week:

          teiid_designer_6.0.0.v20090427_SNAPSHOT.zip

          If you have not downloaded and installed this newer version, the WSDL importers will not work.

          ... and if you have the latest version, please log your issues at: https://jira.jboss.org/jira/browse/TEIIDDES. Not that we really like new issues, but we welcome them as well as your input, feedback and questions!

          Thanks for taking the tool for a test-drive.

          BTW... we encourage you to use the Teiid Designer forum for Teiid Designer questions :)