invalid segment when reading WSDL [message #196724] |
Thu, 19 July 2007 16:48 |
Eclipse User |
|
|
|
Originally posted by: sss.sss.com
Hi,
I am trying to create a webservice client (OBIEE) in Eclipse 3.2.2, I try to
read the WSDL and I get the error below. I am able to use .NET to read the
WSDL just fine. I also noticed the slashes in the following statement:
web/soap/v4.analytics.siebel.com in the error message.
Any help is appreciated...
John
IWAB0014E Unexpected exception occurred.
invalid segment: web/soap/v4.analytics.siebel.com
java.lang.IllegalArgumentException: invalid segment:
web/soap/v4.analytics.siebel.com
at org.eclipse.emf.common.util.URI.validateURI(URI.java:1023)
at org.eclipse.emf.common.util.URI.createHierarchicalURI(URI.ja va:481)
at
org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl.create TypeURI(JavaRefFactoryImpl.java:438)
at
org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl.reflec tType(JavaRefFactoryImpl.java:401)
at
org.eclipse.jst.ws.internal.common.JavaMOFUtils.getJavaClass (JavaMOFUtils.java:212)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anInfo.writeSEIMethods(Stub2BeanInfo.java:458)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anInfo.writeClass(Stub2BeanInfo.java:238)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anInfo.write(Stub2BeanInfo.java:167)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anCommand.execute(Stub2BeanCommand.java:197)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC odeGenOperation$ClientWSModifyOperation.execute(ClientCodeGe nOperation.java:110)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC odeGenOperation.execute(ClientCodeGenOperation.java:61)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:414)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:354)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:252)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:250)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 851)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:220)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:95)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:254)
at
org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizar d.performFinish(DynamicWizard.java:332)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
|
|
|
|
Re: invalid segment when reading WSDL [message #196983 is a reply to message #196759] |
Mon, 23 July 2007 11:40 |
Eclipse User |
|
|
|
Originally posted by: sss.sss.com
Thanks for the update, can you look below for verify I have the same
problem?
I used the Web Service Explorer and found the service. I try to test the
service using one of the methods and the Service Request Envelope display is
below. Is it failing on the q0 line? And should I add the "http://" in front
to avoid this problem?
<?xml version="1.0" encoding="UTF-8" ?>
+ <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:q0="com.siebel.analytics.web/soap/v4"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <q0:readObjects>
<q0:resolveLinks>true</q0:resolveLinks>
<q0:errorMode>ErrorCode</q0:errorMode>
</q0:readObjects>
</soapenv:Body>
</soapenv:Envelope>
Thanks,
John
"Seng Phung Lu" <sengpl@ca.ibm.com> wrote in message
news:f7oflg$4mj$2@build.eclipse.org...
> Hi John,
> Please see my comments in the previous post titled "Error parsing WSDL".
>
> The problem you've run into looks suspiciously similar. Have a look at
> the bug report I've opened, and feel free to add yourself to the CC list.
>
> Note: I described several workarounds in the bug report and previous
> posting.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=197194
>
> Hope that helps,
> Seng
>
> John wrote:
>> Hi,
>>
>> I am trying to create a webservice client (OBIEE) in Eclipse 3.2.2, I try
>> to read the WSDL and I get the error below. I am able to use .NET to read
>> the WSDL just fine. I also noticed the slashes in the following
>> statement: web/soap/v4.analytics.siebel.com in the error message.
>>
>> Any help is appreciated...
>>
>> John
>>
>> IWAB0014E Unexpected exception occurred.
>> invalid segment: web/soap/v4.analytics.siebel.com
>> java.lang.IllegalArgumentException: invalid segment:
>> web/soap/v4.analytics.siebel.com
>> at org.eclipse.emf.common.util.URI.validateURI(URI.java:1023)
>> at
>> org.eclipse.emf.common.util.URI.createHierarchicalURI(URI.ja va:481)
>> at
>> org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl.create TypeURI(JavaRefFactoryImpl.java:438)
>> at
>> org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl.reflec tType(JavaRefFactoryImpl.java:401)
>> at
>> org.eclipse.jst.ws.internal.common.JavaMOFUtils.getJavaClass (JavaMOFUtils.java:212)
>> at
>> org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anInfo.writeSEIMethods(Stub2BeanInfo.java:458)
>> at
>> org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anInfo.writeClass(Stub2BeanInfo.java:238)
>> at
>> org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anInfo.write(Stub2BeanInfo.java:167)
>> at
>> org.eclipse.jst.ws.internal.axis.consumption.ui.task.Stub2Be anCommand.execute(Stub2BeanCommand.java:197)
>> at
>> org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC odeGenOperation$ClientWSModifyOperation.execute(ClientCodeGe nOperation.java:110)
>> at
>> org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC odeGenOperation.execute(ClientCodeGenOperation.java:61)
>> at
>> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:414)
>> at
>> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:354)
>> at
>> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:252)
>> at
>> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:250)
>> at
>> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
>> at
>> org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
>> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 851)
>> at
>> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:220)
>> at
>> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:95)
>> at
>> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:254)
>> at
>> org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizar d.performFinish(DynamicWizard.java:332)
>> at
>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
>> at
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
>> at
>> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
>> at
>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
>> at org.eclipse.jface.window.Window.open(Window.java:796)
>> at
>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
>> at
>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
>> at
>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>> 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(Main.java:336 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03626 seconds