28.2. Web Tier Construction

Creating the Web tier requires that you understand the incoming messages provided by the Webenabled device. First, a review the two messages your CRSS case study will implement. Listing 28.1 is the Calendar Request Message, and Listing 28.2 is the Client Reservation Request.

Listing 28.1. Calendar Request Message
<?xml version="1.0" encoding="utf-8"?> 
<getResouceCalendar 
  xmlns="http://www.XMLSchemaReference.com/examples/CRSS" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://sams/msgCalendarRequest.xsd"> 
  <resource name=""> 
    <range startDate="" endDate=""/> 
  </resource> 
</getResouceCalendar> 
Listing 28.2. Client Reservation Request
 <?xml version="1.0" encoding="utf-8"?> <reservation_request ...

Get XML Schema Complete Reference, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.