Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1975

Problem creating ConnectionProfile for OData Service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.3
    • 8.3
    • Import/Export
    • None

      I attempted to go thru model import and query process using the OData example service http://services.odata.org/Northwind/Northwind.svc/

      • was able to import via the Teiid Connection Importer, model was created
      • Next attempted to create a Connection Profile so that I could preview. When I provided the URL the connection profile test ping failed with the following exception:

      java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 415 for URL: http://services.odata.org/Northwind/Northwind.svc/
      at org.teiid.designer.transformation.ui.wizards.xmlfile.TeiidXmlImportSourcePage.getXmlFileFromRestUrl(TeiidXmlImportSourcePage.java:628)
      at org.teiid.designer.transformation.ui.wizards.xmlfile.TeiidXmlImportSourcePage.loadFileListViewer(TeiidXmlImportSourcePage.java:557)
      at org.teiid.designer.transformation.ui.wizards.xmlfile.TeiidXmlImportSourcePage.profileComboSelectionChanged(TeiidXmlImportSourcePage.java:474)
      at org.teiid.designer.transformation.ui.wizards.xmlfile.TeiidXmlImportSourcePage$3.widgetSelected(TeiidXmlImportSourcePage.java:254)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)

      I finished creating the CP, then applied it to the model. I successfully previewed the data. So potential problem with the Connection profile url validation.

              mdrillin1@redhat.com Mark Drilling (Inactive)
              mdrillin1@redhat.com Mark Drilling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: