Four Stars

Populate schema to repository: Error during schema processing

Hi everyone! I'm trying to create the input and output xml files from a webService with its wsdl (I cannot write here the wsdl for security reasons). I've done it with a lot of services but with this one i'm having the error: Populate schema to repository: Error during schema processing. The thing is that I can use this WS whithout any problem with SOAP-UI but I cannot create the xml files for using in Taleng in a tESBconsummer.

 

Does anyone know what could be te problem for this error?

 

Thanks everyone

Tags (1)
2 REPLIES
Moderator

Re: Populate schema to repository: Error during schema processing

Hello,

Could you please try to see if any log messages generated in the log file when you click the Import WSDL schema option? The log file is located in 
<studio install dir>\workspace\.metadata\.log

Have you tried to create a service using your existing WSDL file and then import the WSDL schema?

wdsl.png

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Populate schema to repository: Error during schema processing

Hi Sabrina.

 

I tried that ay too and Ive the same error. Im using Talend ESB. If you need the wsdl for trying tell me and i send you by private. The error is the next one:

 

!STACK 1
org.eclipse.core.runtime.CoreException: WDSL creation failed
	at org.talend.repository.services.ui.OpenWSDLPage.getCoreException(OpenWSDLPage.java:355)
	at org.talend.repository.services.ui.OpenWSDLPage.access$12(OpenWSDLPage.java:354)
	at org.talend.repository.services.ui.OpenWSDLPage$4.run(OpenWSDLPage.java:274)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.talend.repository.services.ui.OpenWSDLPage.finish(OpenWSDLPage.java:286)
	at org.talend.repository.services.ui.ESBWizard.performFinish(ESBWizard.java:132)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
	at org.eclipse.jface.window.Window.open(Window.java:808)
	at org.talend.repository.services.action.CreateESBAction.doRun(CreateESBAction.java:135)
	at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:635)
	at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99)
	at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258)
	at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3369)
	at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2113)
	at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:641)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.talend.rcp.intro.Application.start(Application.java:248)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://svc.integracion.test.euskadi.net:80/ctxweb/AbsysWebService
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
	at org.talend.utils.wsdl.WSDLLoader.load(WSDLLoader.java:76)
	at org.talend.utils.wsdl.WSDLLoader.load(WSDLLoader.java:69)
	at org.talend.repository.services.ui.OpenWSDLPage$4.run(OpenWSDLPage.java:229)
	... 51 more
!SUBENTRY 1 org.talend.repository.services 4 0 2017-06-05 13:02:01.795
!MESSAGE WDSL creation failed
!STACK 0
java.io.IOException: Server returned HTTP response code: 500 for URL: http://svc.integracion.test.euskadi.net:80/ctxweb/AbsysWebService
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
	at org.talend.utils.wsdl.WSDLLoader.load(WSDLLoader.java:76)
	at org.talend.utils.wsdl.WSDLLoader.load(WSDLLoader.java:69)
	at org.talend.repository.services.ui.OpenWSDLPage$4.run(OpenWSDLPage.java:229)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.talend.repository.services.ui.OpenWSDLPage.finish(OpenWSDLPage.java:286)
	at org.talend.repository.services.ui.ESBWizard.performFinish(ESBWizard.java:132)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
	at org.eclipse.jface.window.Window.open(Window.java:808)
	at org.talend.repository.services.action.CreateESBAction.doRun(CreateESBAction.java:135)
	at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:635)
	at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99)
	at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258)
	at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3369)
	at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2113)
	at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:641)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.talend.rcp.intro.Application.start(Application.java:248)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

!ENTRY org.talend.platform.logging 4 0 2017-06-05 13:05:13.741
!MESSAGE 2017-06-05 13:05:13,740 ERROR org.talend.commons.exception.CommonExceptionHandler  - Error during schema processing

!STACK 1
org.eclipse.core.runtime.CoreException: Error during schema processing
	at org.talend.repository.services.action.PublishMetadataRunnable$1.run(PublishMetadataRunnable.java:132)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.talend.repository.services.action.PublishMetadataRunnable.run(PublishMetadataRunnable.java:146)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at org.talend.datatools.xml.utils.XSDPopulationUtil2.getSchemaTree(XSDPopulationUtil2.java:547)
	at org.talend.datatools.xml.utils.XSDPopulationUtil2.getSchemaTree(XSDPopulationUtil2.java:384)
	at org.talend.metadata.managment.ui.utils.XsdMetadataUtils.createMetadataFromXSD(XsdMetadataUtils.java:221)
	at org.talend.metadata.managment.ui.utils.XsdMetadataUtils.createMetadataFromXSD(XsdMetadataUtils.java:120)
	at org.talend.repository.services.action.PublishMetadataRunnable.process(PublishMetadataRunnable.java:295)
	at org.talend.repository.services.action.PublishMetadataRunnable.access$3(PublishMetadataRunnable.java:258)
	at org.talend.repository.services.action.PublishMetadataRunnable$1.run(PublishMetadataRunnable.java:130)
	... 3 more
!SUBENTRY 1 org.talend.repository.services 4 0 2017-06-05 13:05:13.741
!MESSAGE Error during schema processing
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at org.talend.datatools.xml.utils.XSDPopulationUtil2.getSchemaTree(XSDPopulationUtil2.java:547)
	at org.talend.datatools.xml.utils.XSDPopulationUtil2.getSchemaTree(XSDPopulationUtil2.java:384)
	at org.talend.metadata.managment.ui.utils.XsdMetadataUtils.createMetadataFromXSD(XsdMetadataUtils.java:221)
	at org.talend.metadata.managment.ui.utils.XsdMetadataUtils.createMetadataFromXSD(XsdMetadataUtils.java:120)
	at org.talend.repository.services.action.PublishMetadataRunnable.process(PublishMetadataRunnable.java:295)
	at org.talend.repository.services.action.PublishMetadataRunnable.access$3(PublishMetadataRunnable.java:258)
	at org.talend.repository.services.action.PublishMetadataRunnable$1.run(PublishMetadataRunnable.java:130)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.talend.repository.services.action.PublishMetadataRunnable.run(PublishMetadataRunnable.java:146)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

I can see that is an IndexOutOfBoundsException but I cannot see what is the progra looking for.

 

Thank you!!