[JBoss JIRA] Reopened: (TEIIDDES-37) Import WSDL to Web Svc fails saying WSDL is already loaded or had problems loading
by John Doyle (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-37?page=com.atlassian.jira.pl... ]
John Doyle reopened TEIIDDES-37:
--------------------------------
The produced model had a lot of error when I restarted designer.
> Import WSDL to Web Svc fails saying WSDL is already loaded or had problems loading
> ----------------------------------------------------------------------------------
>
> Key: TEIIDDES-37
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-37
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 6.0.0
> Environment: Linux
> Reporter: Paul Nittel
> Assignee: John Doyle
> Fix For: 6.0.0
>
>
> I tried to import the Amazon Web Service (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl), but it fails, indicating there's some problem with loading it. I tried the same URL using 5.5.3 GA and it worked fine. (Done just a few minutes apart.)
> Here's the stack trace:
> Error 2008-11-20 10:09:32.05 The file /tmp/AWSECommerceService_AWSECommerceService62646.wsdl could not be loaded
> org.eclipse.core.runtime.CoreException: The file /tmp/AWSECommerceService_AWSECommerceService62646.wsdl could not be loaded
> at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.addResource(BasicWebServiceModelBuilder.java:196)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.addWsdlFilesInternal(WsdlSelectionPage.java:357)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.access$2(WsdlSelectionPage.java:296)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage$3.run(WsdlSelectionPage.java:280)
> at com.metamatrix.ui.internal.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:76)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.addWsdlFiles(WsdlSelectionPage.java:273)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.handleAddURLWsdlFile(WsdlSelectionPage.java:847)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.access$5(WsdlSelectionPage.java:820)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage$7.widgetSelected(WsdlSelectionPage.java:537)
> 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:1158)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
> 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:1158)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
> 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(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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:38)
> at com.metamatrix.modeler.internal.webservice.WebServiceResources.add(WebServiceResources.java:75)
> at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.addResource(BasicWebServiceModelBuilder.java:191)
> ... 54 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:182)
> at com.metamatrix.metamodels.wsdl.io.WsdlLoader.load(WsdlLoader.java:129)
> at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
> at com.metamatrix.metamodels.wsdl.io.WsdlResourceImpl.doLoad(WsdlResourceImpl.java:128)
> 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)
> ... 58 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(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:169)
> at org.jdom.adapters.XercesDOMAdapter.getDocument(XercesDOMAdapter.java:97)
> ... 66 more
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Resolved: (TEIIDDES-37) Import WSDL to Web Svc fails saying WSDL is already loaded or had problems loading
by John Doyle (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-37?page=com.atlassian.jira.pl... ]
John Doyle resolved TEIIDDES-37.
--------------------------------
Resolution: Cannot Reproduce Bug
I just imported this WSDL. It took a very long time but finished without error and appears to have made the correct model./
> Import WSDL to Web Svc fails saying WSDL is already loaded or had problems loading
> ----------------------------------------------------------------------------------
>
> Key: TEIIDDES-37
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-37
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 6.0.0
> Environment: Linux
> Reporter: Paul Nittel
> Assignee: John Doyle
> Fix For: 6.0.0
>
>
> I tried to import the Amazon Web Service (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl), but it fails, indicating there's some problem with loading it. I tried the same URL using 5.5.3 GA and it worked fine. (Done just a few minutes apart.)
> Here's the stack trace:
> Error 2008-11-20 10:09:32.05 The file /tmp/AWSECommerceService_AWSECommerceService62646.wsdl could not be loaded
> org.eclipse.core.runtime.CoreException: The file /tmp/AWSECommerceService_AWSECommerceService62646.wsdl could not be loaded
> at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.addResource(BasicWebServiceModelBuilder.java:196)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.addWsdlFilesInternal(WsdlSelectionPage.java:357)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.access$2(WsdlSelectionPage.java:296)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage$3.run(WsdlSelectionPage.java:280)
> at com.metamatrix.ui.internal.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:76)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.addWsdlFiles(WsdlSelectionPage.java:273)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.handleAddURLWsdlFile(WsdlSelectionPage.java:847)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage.access$5(WsdlSelectionPage.java:820)
> at com.metamatrix.modeler.internal.webservice.ui.wizard.WsdlSelectionPage$7.widgetSelected(WsdlSelectionPage.java:537)
> 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:1158)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
> 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:1158)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
> 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(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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:38)
> at com.metamatrix.modeler.internal.webservice.WebServiceResources.add(WebServiceResources.java:75)
> at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.addResource(BasicWebServiceModelBuilder.java:191)
> ... 54 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:182)
> at com.metamatrix.metamodels.wsdl.io.WsdlLoader.load(WsdlLoader.java:129)
> at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
> at com.metamatrix.metamodels.wsdl.io.WsdlResourceImpl.doLoad(WsdlResourceImpl.java:128)
> 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)
> ... 58 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(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:169)
> at org.jdom.adapters.XercesDOMAdapter.getDocument(XercesDOMAdapter.java:97)
> ... 66 more
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Resolved: (TEIIDDES-110) Preview does not allow leaving fields null for nullable columns in an access pattern
by Dan Florian (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-110?page=com.atlassian.jira.p... ]
Dan Florian resolved TEIIDDES-110.
----------------------------------
Resolution: Done
The preview parameter dialog now allows for the user to set a parameter value to null. This is done by selecting a checkbox that only is visible when the parameter type indicates that the value can be null. For columns this means the column is NULLABLE and for XSDs the element is NILLABLE. Reviewed by Barry L.
> Preview does not allow leaving fields null for nullable columns in an access pattern
> ------------------------------------------------------------------------------------
>
> Key: TEIIDDES-110
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-110
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 6.0.0
> Environment: 5.5.3GA Designer on Linux
> Reporter: Greg Haber
> Assignee: Dan Florian
> Fix For: 6.0.0
>
> Attachments: oracleTest_20081210_1.zip
>
>
> If an access pattern contains a nullable column (and this probably also holds for procedure input parameters), then Preview doesn't have an option to leave the value blank (to specify null). If you enter the string "null" into the field for that column, it will send the string "null". Not sure on how semantics of this should work (whether leaving the field blank should be the equivalent of specifying null, or whether we should use the string "null", or whether there should be a checkbox for saying that the value is null), so whatever makes sense.
> However regardless on how the UI works this should result in a WHERE colname IS NULL criteria in the resulting query.
> I know we aren't trying to tackle all edge cases with preview, but this is a common case with web service parameters (it is common to have required and nillable parameters).
> This one depends on JBEDSP-855 getting resolved first.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months