Mark Drilling created TEIIDDES-1975:
---------------------------------------
Summary: Problem creating ConnectionProfile for OData Service
Key: TEIIDDES-1975
URL:
https://issues.jboss.org/browse/TEIIDDES-1975
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 8.3
Reporter: Mark Drilling
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira