Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

"Failed to resolve endpoint" error with component Olingo2 (ODATA)

Hi, 

I'm trying to do a basic test with olingo2 component. This component enables to run ODATA connection

I may have misunderstood component documentation... 

The URL I want to query is http://services.odata.org/V4/Northwind/Northwind.svc/Products  

My endpoint looks like: 
.to("olingo2://read/Products?serviceUri=http://services.odata.org/V4/Northwind/Northwind.svc") 

I get this error message: 
. because of Failed to resolve endpoint: olingo2://Products?serviceUri=http%3A%2F%2Fservices.odata.org%2FV4%2FNorthwind%2FNorthwind.svc due to: No matching method for /Products, with arguments [responseHandler, queryParams, edm] 

 

My route looks like:

0683p000009Lrao.png

0683p000009LrdB.png

0683p000009Lrd2.png

When I enter this URL in a webbrowser, it works fine:

0683p000009LrdL.png


Could you help me ? 

I enclosed my route.

 

My talend version is 6.2.1


Regards. 

Eric 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi, 

It looks like Olingo2 doesn't support ODATA 3.0 and 4.0. With 2.0 version it works fine: 
http://services.odata.org/V2/Northwind/Northwind.svc  

Eric 

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi,

 

I declared the service URI in my spring XML with:

<bean id="odata"
class="org.apache.camel.component.olingo2.Olingo2Component">
<property name="configuration">
<bean class="org.apache.camel.component.olingo2.Olingo2Configuration">
<property name="serviceUri"
value="http://services.odata.org/V4/Northwind/Northwind.svc"/>
</bean>
</property>
</bean>

 

And I run the ODATA connection with:

"odata://read/Products"

0683p000009LrHw.png

 

It is getting better, but I still have an error:

org.apache.camel.RuntimeCamelException: Error reading EDM: Invalid or missing namespace for 'Schema'

 

Any help would be appreciated.

 

Eric

Anonymous
Not applicable
Author

Hi, 

It looks like Olingo2 doesn't support ODATA 3.0 and 4.0. With 2.0 version it works fine: 
http://services.odata.org/V2/Northwind/Northwind.svc  

Eric