Error parsing WSDL message

I have the following wsdl: http://pastie.org/804441 . I get the following errors in wsdl. I use it in a tool called XAware, which is a data integration tool.

This question is not about XAware. Just looking at the errors below and the wsdl file, does this point to some problems using WSDL im or my WSDL?

Please, help. Thank.

Error Message (WSDL Error Analysis)

org.xaware.shared.util.XAwareException: schema definition http://www.w3.org/2001/XMLSchema"is not available in the wsdl file. Please either define it in this file or use the import statement to import from another file containing a schema definition. org.xaware.ide.xadev.wizard.BizDocumentWizard $ SelectGrammarFilePage.getSchemURI (Unknown source) in org. xaware.ide. SelectGrammarFilePage.access $ 000 (Unknown source) in org.xaware.ide.xadev.wizard.BizDocumentWizard $ SelectGrammarFilePage $ 2.selectionChanged (Unknown source) in org.eclipse.jface.viewers.Viewer $ 2.run (Viewer.java:162) on org.eclipse.core.runtime.SafeRunner.run (SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run (Platform.java:880) at org.eclipse.ui.internal.JFaceUtil $ 1.run (JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run (SafeRunnable.java:175 ) in org.eclipse.jface.viewers.Viewer. fireSelectionChanged (Viewer.java:160) in org.eclipse.jface.viewers.StructuredViewer.updateSelection (StructuredViewer.java:2062) on org.eclipse.jface.viewers.StructuredViewer.setSelection (StructuredViewer.java:1638) on orgecl .jface.viewers.TreeViewer.setSelection (TreeViewer.java:1104) .. setVisibleHelper (Unknown source) in org.xaware.ide.xadev.wizard.BizDocumentWizard $ SelectGrammarFilePage.setVisible (Unknown source) in org.eclipse.jface.jface .WizardDialog.updateForPage (WizardDialog.java:1161) in org.eclipse. jface.wizard.WizardDialog.access $ 2 (WizardDialog.java:1139) at org.eclipse.jface.wizard.WizardDialog $ 4.run (WizardDialog.java:1128) on org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator. Java: 70) on org.eclipse.jface.wizard.WizardDialog.showPage (WizardDialog.java:1126) on org.eclipse.jface.wizard.Wizard log.nextPressed (WizardDialog.java:820) on org.eclipse.jface.wizard.WizardDialog.buttonPressed (WizardDialog.javahaps69) on org.eclipse.jface.dialogs.Dialog $ 2.widgetSelected (Dialog.java:624) on org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:228) in org.eclipse.swt.widgets.EventTable.sendEvent (EventTable.java:84) in org.eclipse.swt.widgets.Widget.sendEvent ( Widget.java:1003)at org.eclipse.swt.widgets.Display.runDeferredEvents (Display.java:3823) on org.eclipse.swt.widgets.Display.readAndDispatch (Display.java:3422) on org.eclipse.jface .window.Window.runEventLoop (Window.java:825) at org.eclipse.jface.window.Window.open (Window.java:801) at org.xaware.ide.xadev.wizard.BizDocumentWizard.showDialog (Unknown source) at org.xaware.ide.xadev.gui.actions.CreateBizDocFromWSDLAction.run (Unknown source) at org.eclipse.ui.internal.PluginAction.runWith java: 251) on org.eclipse.jface.action.ActionContributionItem. handleWidgetSelection (ActionContributionItem.java∗83) in org.eclipse. jface.action.ActionContributionItem.access $ 2 (ActionContributionItem.javaPoint00) at org.eclipse.jface.action.ActionContributionItem $ 5.handleEvent (ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent ( java: 84) on org.eclipse.swt.widgets.Widget.sendEvent (Widget.java:1003) on org.eclipse.swt.widgets.Display.runDeferredEvents (Display.java:3823) on org.eclipse.swt.widgets .Display.readAndDispatch (Display.java:3422) in org.eclipse.ui.internal.Workbench.runEventLoop (Workbench.java:2382) in org.eclipse.ui.internal.Workbench.runUI (Workbench.java:2346) in org.eclipse.ui.internal.Workbench.access $ 4 (Workbench.java:2198) on 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 (PlatformUIsejava .ui.internal.ide.application.IDEApplication.start (IDEAp plication.java:113)at org.eclipse.equinox.internal.app.EclipseAppHandle.run (EclipseAppHandle.java:193) in org.eclipse.core.runtime. internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:110) on org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.java:79) on org.eclipseruntime.adaptor.EclipseStarter.run (EclipseStarter.javahaps86) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) reflect.NativeMethodAccessorImpl.invoke (Unknown source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown source) in java.lang.reflect.Method.invoke (Unknown source) in org.eclipse. equinox.launcher.Main.invokeFramework (Main.java//49) 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)reflect.NativeMethodAccessorImpl.invoke (Unknown source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown source) in java.lang.reflect.Method.invoke (Unknown source) in org.eclipse. equinox.launcher.Main.invokeFramework (Main.java//49) 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)reflect.NativeMethodAccessorImpl.invoke (Unknown source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown source) in java.lang.reflect.Method.invoke (Unknown source) in org.eclipse. equinox.launcher.Main.invokeFramework (Main.java//49) 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)1212)1212)

+3
3

, , " http://www.w3.org/2001/XMLSchema" : "xsd" :

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

(.. ) "schema":

xmlns="http://www.w3.org/2001/XMLSchema"

, , , . , - , - , WSDL.

<xsd:schema>

,

<schema targetNamespace="http://compservice.com" xmlns="http://www.w3.org/2001/XMLSchema">
+1

, <import/> schemaLocation. import ( ) :

<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="soapenc.xsd" />
0

It seems to me that this may be partly a XAware / quirk problem, since as far as I know, you do not need to specify a schema. The location of well-known schemes, such as http://www.w3.org/2001/XMLSchema using normal behavior.

Perhaps you could try specifying the import location at http://www.w3.org/2001/XMLSchema.xsd and see what happens?

0
source

Source: https://habr.com/ru/post/1730900/


All Articles