Skip to main content
Solved

ODATA READER Failure

  • May 10, 2018
  • 9 replies
  • 87 views

Forum|alt.badge.img

Hello, I am attempting to use the ODATA READER. I can use my odata link other places including HTTPCaller in FME. I did notice under constraints, there is an item called "FEED LIST". I don't see this documented anywhere though.

Here is my error message.

Failed to obtain any schemas from reader 'ODATA' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information

FME Session Duration: 2.6 seconds. (CPU: 0.9s user, 1.6s system)

END - ProcessID: 15140, peak process memory usage: 88308 kB, current process memory usage: 88308 kB

Best answer by fizquierdo

I think I got it working Matt.

 

Authentication must be set to basic which had. I set it up exactly like my httpreader. Also, I forced Feed List to use vehicle_master_by_user_org. it failed on creation with this setup several times and then decided to work. :) not sure why but it is reading and returning the data I am expecting.

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

9 replies

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • May 10, 2018
Are you able to share the ODATA link with us?

 

 


Forum|alt.badge.img
  • Author
  • 7 replies
  • May 10, 2018

Sure, It's a link behind our firewall though. Here it is

http://avid/odata/V4/fleet/vehicle_master_by_user_org?$format=json


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • May 10, 2018

Sure, It's a link behind our firewall though. Here it is

http://avid/odata/V4/fleet/vehicle_master_by_user_org?$format=json

Can you try removing the "vehicle_master_by_user_org?$format=json" part from the URL then click the "..." button on Feed list when in the Paramaters?

 

Does that give you a list of layers? including "vehicle_master_by_user_org" to choose from?

 

 


Forum|alt.badge.img
  • Author
  • 7 replies
  • May 11, 2018
Good morning Matt, thanks for helping me look into this.

 

I tried

 

http://avid/odata/V4/fleet/

 

and

 

http://avid/odata/V4/fleet

 

I still just get a spinning bar when I click on "Field List" ...

 

 

Should "Field List" contain "vehicle_master_by_user_org?$format=json" ?

 

 

Thanks,

 

Fernando

 

 


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • May 11, 2018

Hi @fizquierdo - Here's the documentation on our Odata reader: http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/odata/odata_reader.htm?

 

Please read the requirements carefully. In addition you will find an example Odata link which you can test out to make sure that FME is working correctly on your machine. If that Link isn't working then it might be specific to your machine.

 

 

I'm not overly familiar with the OData side of things, but the "$format=json" part isn't needed here. I was expecting the "vehicle_master_by_user_org" to be in the feed list but it's seems like it's not quite working as I would expect. 

From our documentation we say that 

The dataset can be one of the following: an OData service, represented by a service root URI, or an OData feed, represented by a service root URI plus a specific resource path.
Something which might give you some more information as to what's going wrong it to turn on Debug logging (Tools>FME Options>Translation>check the Log Debug box). You can then try re-adding the Odata reader and clicking the feed list button and see if there is any other information.

Forum|alt.badge.img
  • Author
  • 7 replies
  • May 11, 2018

Hi @fizquierdo - Here's the documentation on our Odata reader: http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/odata/odata_reader.htm?

 

Please read the requirements carefully. In addition you will find an example Odata link which you can test out to make sure that FME is working correctly on your machine. If that Link isn't working then it might be specific to your machine.

 

 

I'm not overly familiar with the OData side of things, but the "$format=json" part isn't needed here. I was expecting the "vehicle_master_by_user_org" to be in the feed list but it's seems like it's not quite working as I would expect. 

From our documentation we say that 

The dataset can be one of the following: an OData service, represented by a service root URI, or an OData feed, represented by a service root URI plus a specific resource path.
Something which might give you some more information as to what's going wrong it to turn on Debug logging (Tools>FME Options>Translation>check the Log Debug box). You can then try re-adding the Odata reader and clicking the feed list button and see if there is any other information.
Thanks for the help Matt, I appreciate you looking into this. Is it possible to escalate this question? I Have tried several combinations and can get the feed to work with HTTP caller. Is it possibly a bug with this reader?

 

 


Forum|alt.badge.img
  • Author
  • 7 replies
  • Best Answer
  • May 11, 2018
I think I got it working Matt.

 

Authentication must be set to basic which had. I set it up exactly like my httpreader. Also, I forced Feed List to use vehicle_master_by_user_org. it failed on creation with this setup several times and then decided to work. :) not sure why but it is reading and returning the data I am expecting.

 

 


Forum|alt.badge.img
  • Author
  • 7 replies
  • May 11, 2018

Hi @fizquierdo - Here's the documentation on our Odata reader: http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/odata/odata_reader.htm?

 

Please read the requirements carefully. In addition you will find an example Odata link which you can test out to make sure that FME is working correctly on your machine. If that Link isn't working then it might be specific to your machine.

 

 

I'm not overly familiar with the OData side of things, but the "$format=json" part isn't needed here. I was expecting the "vehicle_master_by_user_org" to be in the feed list but it's seems like it's not quite working as I would expect. 

From our documentation we say that 

The dataset can be one of the following: an OData service, represented by a service root URI, or an OData feed, represented by a service root URI plus a specific resource path.
Something which might give you some more information as to what's going wrong it to turn on Debug logging (Tools>FME Options>Translation>check the Log Debug box). You can then try re-adding the Odata reader and clicking the feed list button and see if there is any other information.
I think I got it working Matt.

 

Authentication must be set to basic which had. I set it up exactly like my httpreader. Also, I forced Feed List to use vehicle_master_by_user_org. it failed on creation with this setup several times and then decided to work. :) not sure why but it is reading and returning the data I am expecting.

 

 


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • May 11, 2018
I think I got it working Matt.

 

Authentication must be set to basic which had. I set it up exactly like my httpreader. Also, I forced Feed List to use vehicle_master_by_user_org. it failed on creation with this setup several times and then decided to work. :) not sure why but it is reading and returning the data I am expecting.

 

 

Woo! Great to hear, sorry that it was so confusing!! I'm doing a little dance of joy in my office reading this. Best of luck with getting the data where it needs to go!