0

Is anyone aware of location of any OData service using complex types?There are a lot of services on www.odata.org but they have properties which have SimpleTypes.

Anthony Horne
  • 2,522
  • 2
  • 29
  • 51
prerna30
  • 131
  • 1
  • 2
  • 15

3 Answers3

0

If you create a service based on Enterprise framework (ADO.NET from Database), it will create just that for you. Search for WCF Data Services examples. What language are you thinking of using?

Anthony Horne
  • 2,522
  • 2
  • 29
  • 51
  • Lastly, http://codenodes.wordpress.com/2011/08/22/return-complex-type-from-odata-wcf-data-service/ :) – Anthony Horne May 06 '14 at 09:12
  • I want to use a service as a Client.I am using java for the same – prerna30 May 06 '14 at 09:13
  • Like we have sample service Northwind which we can use.Do we have any other service?(northwind uses only simple types).I want an already created service using Complex Types – prerna30 May 06 '14 at 09:16
0

There is a complex type Address in this sample: https://aspnet.codeplex.com/SourceControl/latest#Samples/WebApi/OData/v4/ODataCamelCaseSample/

Tan Jinfu
  • 3,327
  • 1
  • 19
  • 20
0

You can try this one: http://services.odata.org/v4/DefaultService/$metadata. It's also one of the services provided by the OData.org.

Yi Ding - MSFT
  • 2,864
  • 16
  • 16