Configuring Web browsers to access REST data service ATOM feeds
The eXtreme Scale REST data service creates ATOM feeds by default when using a web browser. The ATOM feed format may not be compatible with older browsers or may be interpreted such that the data cannot be viewed as XML. You can configure Internet Explorer Version 8 and Firefox Version 3 to display the ATOM feeds and XML within the browser.
About this task
For modern browsers, such as Microsoft Internet Explorer Version 8 and Firefox Version 3, the ATOM XML files can be displayed natively in the browser. The following topics provide details on how to configure Internet Explorer Version 8 and Firefox Version 3 to display the ATOM feeds and XML within the browser.
Procedure
Configure Internet Explorer Version 8
Configure Firefox Version 3
Example
This section describes some example URLs that can be used to view the data that was added by the getting started sample provided with the REST data service. Before using the following URLs, add the default data set to the eXtreme Scale sample data grid using either the sample Java™ client or the sample Visual Studio WCF Data Services client.
The following examples assume the port is 8080 which can vary. See section for details on how to configure the REST data service on different application servers.
- View a single customer with the id of "ACME":
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/Customer('ACME')
- View all of the orders for customer "ACME":
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/Customer('ACME')/orders
- View the customer "ACME" and the orders:
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/Customer('ACME')?$expand=orders
- View order 1000 for customer "ACME":
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/Order(orderId=1000,customer_customerId='ACME')
- View order 1000 for customer "ACME" and its associated Customer:
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/ Order(orderId=1000,customer_customerId='ACME')?$expand=customer
- View order 1000 for customer "ACME" and its associated Customer and OrderDetails:
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/ Order(orderId=1000,customer_customerId='ACME')?$expand=customer,orderDetails
- View all orders for customer "ACME" for the month of October, 2009 (GMT):
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/ Customer(customerId='ACME')/orders?$filter=orderDate ge datetime'2009-10-01T00:00:00' and orderDate lt datetime'2009-11-01T00:00:00'
- View all the first 3 orders and orderDetails for customer "ACME" for the month of October, 2009
(GMT):
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/ Customer(customerId='ACME')/orders?$filter=orderDate ge datetime'2009-10-01T00:00:00' and orderDate lt datetime'2009-11-01T00:00:00' &$orderby=orderDate&$top=3&$expand=orderDetails