The url to request data is composed of two parts. First is the root of the url, typically something like http://services.odata.org/Northwind/Northwind.svc. This root is constant for all requests against a specified OData datasource.
The "select" in each request is the part of the url added to the root. So a select of "Categories" will create the url http://services.odata.org/Northwind/Northwind.svc/Categories. Windward supports all valid OData requests.
Note: The OData wizard is not capable of creating all possible OData queries. The wizard is designed to handle 100% of the queries for 95% of our users. With this restriction, we are able to make the wizard much simplier to use. But any url can be directly typed in.
Windward also adds one construct to the url's. For a complex type such as Address in http://services.odata.org/OData/OData.svc/Suppliers(1)/Address, in Windward you can use http://services.odata.org/OData/OData.svc/Suppliers(1)/Address.City to return just the city. The ".City" part is not valid OData, but is handled by the Windward engine. And for nested complex types, such as Contact.Address.City there can be multiple uses of the ".".
Connecting to OData datasources
Select OData from the drop-down menu:
And for the service (url) enter the url to the base service. For example: http://services.odata.org/OData/OData.svc/
For more information, follow the tutorial Connecting To Data Sources.
Also, learn about the OData Wizard.
- Receiving the error: "The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of XX bytes has been read from the stream; however a maximum of 10000000 bytes is allowed."
- To raise the message size limit, set the "odata.max-message-size" property in the autotag20__.config file, under the <WindwardReports> node. see: http://wiki.windward.net/kb/The_AutoTag%23.dll.config_file, for more information.