Posted: Thu Sep 24, 2009 12:32 am Post subject: InvocationTargetException importing WSDL to WMBT 6.1.0.5
Newbie
Joined: 12 Aug 2009 Posts: 3
Hello,
I have problems creating message definition file from WSDL.
WSDL file and stacktrace attached bellow.
What can I do about this? Should we open PMR?
It was not working in 6.1.0.4 also, yesterday I updated my WMBT to 6.1.0.5 but this import still does not work.
During import I get error box:
Code:
BIP0116E Error creating Message Definition File.
Reason:
An error occured while creating \MessageSets\ws\custcontractsws\custContracts%5B1%5D.ws_WSDL.mxsd.
Unable to write to the local file system: \MessageSets\ws\custcontractsws\custContracts%5B1%5D.ws_WSDL.mxsd
Refresh the workspace.
java.lang.relfect.InvocationTargetException
After examining stacktrace and wsdl file I understood, that WMBT is downloading and parsing URL which identifies second imported namespace.
!ENTRY org.eclipse.xsd 2 0 2009-09-24 10:48:29.921
!MESSAGE Attribute name "nowrap" associated with an element type "td" must be followed by the ' = ' character.
!STACK 0
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Attribute name "nowrap" associated with an element type "td" must be followed by the ' = ' character.
at org.eclipse.xsd.util.XSDResourceImpl.getDocument(Unknown Source)
at org.eclipse.xsd.util.XSDResourceImpl.getDocument(Unknown Source)
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(Unknown Source)
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(Unknown Source)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.resolve(Unknown Source)
at org.eclipse.xsd.impl.XSDImportImpl.importSchema(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveElementDeclaration(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.resolveElementDeclaration(Unknown Source)
at org.eclipse.xsd.impl.XSDElementDeclarationImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDParticleImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDModelGroupImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDParticleImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDTypeDefinitionImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDElementDeclarationImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.update(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.reset(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.changeAttribute(Unknown Source)
at org.eclipse.xsd.impl.XSDImportImpl.changeAttribute(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.setSchemaLocation(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.operation.XSDFromWSDLOperationBase.processSchemaDirectives(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.operation.XSDFromWSDLOperationBase.updateAllImports(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.operation.NewMSDFromWSDLOperation.executeOperation(Unknown Source)
at com.ibm.etools.msg.coremodel.utilities.BaseOperation.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.WsdlProvider$2.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown Source)
at org.eclipse.jface.operation.ModalContext.run(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.run(Unknown Source)
at com.ibm.etools.msg.importer.framework.wizards.GenMsgDefinitionWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.eclipse.jface.window.Window.open(Unknown Source)
at com.ibm.etools.msg.coremodel.utilities.ui.actions.AbstractOpenWizardAction.run(Unknown Source)
at com.ibm.etools.msg.coremodel.utilities.ui.actions.AbstractOpenWizardAction.run(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
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.core.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
at org.eclipse.core.launcher.Main.run(Unknown Source)
at org.eclipse.core.launcher.Main.main(Unknown Source)
Caused by: org.xml.sax.SAXParseException: Attribute name "nowrap" associated with an element type "td" must be followed by the ' = ' character.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
... 87 more
Code:
!ENTRY org.eclipse.xsd 2 0 2009-09-24 10:45:09.827
!MESSAGE Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
!STACK 0
java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(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 org.eclipse.xsd.util.XSDResourceImpl.getDocument(Unknown Source)
at org.eclipse.xsd.util.XSDResourceImpl.getDocument(Unknown Source)
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(Unknown Source)
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(Unknown Source)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.resolve(Unknown Source)
at org.eclipse.xsd.impl.XSDImportImpl.importSchema(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveElementDeclaration(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.resolveElementDeclaration(Unknown Source)
at org.eclipse.xsd.impl.XSDElementDeclarationImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDParticleImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDModelGroupImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDParticleImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDTypeDefinitionImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDElementDeclarationImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDParticleImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDModelGroupImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDParticleImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDTypeDefinitionImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDElementDeclarationImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.patch(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.update(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaImpl.reset(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.changeAttribute(Unknown Source)
at org.eclipse.xsd.impl.XSDImportImpl.changeAttribute(Unknown Source)
at org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(Unknown Source)
at org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.setSchemaLocation(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.operation.XSDFromWSDLOperationBase.processSchemaDirectives(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.operation.XSDFromWSDLOperationBase.updateAllImports(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.operation.NewMSDFromWSDLOperation.executeOperation(Unknown Source)
at com.ibm.etools.msg.coremodel.utilities.BaseOperation.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown Source)
at com.ibm.etools.msg.importer.wsdl.WsdlProvider$2.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown Source)
at org.eclipse.jface.operation.ModalContext.run(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.run(Unknown Source)
at com.ibm.etools.msg.importer.framework.wizards.GenMsgDefinitionWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.eclipse.jface.window.Window.open(Unknown Source)
at com.ibm.etools.msg.coremodel.utilities.ui.actions.AbstractOpenWizardAction.run(Unknown Source)
at com.ibm.etools.msg.coremodel.utilities.ui.actions.AbstractOpenWizardAction.run(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
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.core.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
at org.eclipse.core.launcher.Main.run(Unknown Source)
at org.eclipse.core.launcher.Main.main(Unknown Source)
if there is only one import everything works.
WMBT goes to second import url and downloads this page and tries to parse it as XML. depending on page it gives different errors.
Current workaround - disable network connection while doing import.
It's a product defect. I've notified the development team. You *could* open a PMR and get an early fix, but it sounds as if you have a good enough workaround.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum