Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#44 WSReader cannot handle WSDL returned via HTTP using"chunked"

open
nobody
None
5
2014-08-22
2008-04-22
xiaofeng zhang
No

We use the class WSReader to convert a WSDL document into a WSDL model. The
class work fine for WSDL document using the HTTP headers
'content-type','content-length'. But when the web services server return WSDL
via HTTP using the "chunked" 'Transfer-Encoding' an exception is thrown.

WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at
'http://localhost/AWSECommerceService.wsdl'.: no content-type:
java.net.UnknownServiceException: no content-type
at java.net.URLConnection.getContentHandler(URLConnection.java:1167)
at java.net.URLConnection.getContent(URLConnection.java:683)
at java.net.URL.getContent(URL.java:1021)
at com.ibm.wsdl.util.StringUtils.getContentAsReader(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at
org.eclipse.datatools.enablement.oda.ws.util.WSDLAdvisor.getDefinition(WSDLAdvisor.java:100)
at
org.eclipse.datatools.enablement.oda.ws.ui.wizards.OperationPage.populateTree(OperationPage.java:258)
at
org.eclipse.datatools.enablement.oda.ws.ui.wizards.OperationPage.initializeControl(OperationPage.java:227)
at
org.eclipse.datatools.enablement.oda.ws.ui.wizards.OperationPage.createPageCustomControl(OperationPage.java:91)
at
org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSetWizardPage.createControl(DataSetWizardPage.java:123)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
at
org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
at
org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1083)
at
org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1142)
at
org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:820)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:83)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3773)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3372)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:185)
at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.run(NewDataSetAction.java:170)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:83)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3773)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3372)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2375)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2339)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2205)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:478)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:473)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
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:362)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
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:585)
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)

Discussion

  • I would like to show some thanks to the writer for bailing me out of this condition. After checking through the internet and coming across concepts that were not pleasant, I figured my entire life was gone. Living without the presence of strategies to the problems you have solved by way of your good short article is a serious case, as well as the ones that could have adversely affected my entire career if I hadn't noticed your web site. Your personal training and kindness in touching all the details was important. I am not sure what I would have done if I hadn't discovered such a stuff like this. I can at this time look forward to my future. Thanks so much for this skilled and results-oriented help. I won't think twice to refer your web page to anybody who wants and needs recommendations on this subject.
    how to buy burberry handbags http://mghyland.webs.com/

     
  • oaYTjI <a href="http://vwpkjarjgooc.com/">vwpkjarjgooc</a>, [url=http://qsdnerkpmozr.com/]qsdnerkpmozr[/url], [link=http://cvtaqgacksbq.com/]cvtaqgacksbq[/link], http://raejmmmvkhyb.com/