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

Problem creating ConnectionProfile for OData Service

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.3
    • Fix Version/s: 8.3
    • Component/s: Import/Export
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mdrillin Mark Drilling
                Reporter:
                mdrillin Mark Drilling
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: