Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using Web Services to Create Events Web Services Explained And a Production Ready Example.

Similar presentations


Presentation on theme: "Using Web Services to Create Events Web Services Explained And a Production Ready Example."— Presentation transcript:

1

2 Using Web Services to Create Events Web Services Explained And a Production Ready Example

3 Web Services Example Our Production Environment What is a Web Service? Why use Web Services with R25? Creating an Event with Web Services Topics Covered

4 The below file is included in case you are interested in downloading this presentation, or if we have internet connectivity issues. Web Services Example

5 All Windows 2003 Servers. R25 Application Server 3.3 R25 Web Server 3.3 R25 Web Services 1.71 PeopleSoft CRM Cold Fusion 8.0 Our Environment

6 A web service exposes data, and processes for one application for use in another application. Web Services provides a layer of abstraction which protects external applications from breaking if the internal mechanics change. There are many types of web services. R25 uses a REST based system. What is a Web Service?

7 Web ApplicationR25 Web Services App ServerDatabase

8 Web ApplicationR25 Web Services GET http://r25/event.xml?event_id=1234 1 2 Event Information

9 Web ApplicationR25 Web Services 2 Success/Fail 1 POST http://r25/event.xml?event_id=1234

10 Some things were not delivered with the event request form that was provided. No Implementation of Categories No Way to Verify Room Availability Why use Web Services with R25

11 There are three main components to creating an event. Authentication Room Search Event Creation Creating an Event with Web Services

12 Authentication is achieved with a challenge response handshake. GET r25ws/servlet/wrd/run/login.xml Returns a string, that must be hashed with the password The hash format is: – hash({hash(password)}:{challenge string}) – The ‘:’ needs to be included in the hash. I found this misleading in the documentation. R25 Challenge Response Documentation is here: http://knowledge25.collegenet.com/display/WSW/Authen tication#Authentication-challengeresponseauth http://knowledge25.collegenet.com/display/WSW/Authen tication#Authentication-challengeresponseauth Authentication

13 To perform a room search: We created a temporary search, and run it via Web Services. This is as powerful as building a search in the R25 client. You could easily use this to create custom reports, or custom calendar display on the web. Searches follows the same conventions as the rest of R25’s web services. Room Search

14 After the end user submits the form, we create the event. The new event: Is associated with the appropriate contact. Has a default state of ‘Draft’. Has an exact room match, which reduces human error. Saves category data. Category data matches our public website’s news categories. Event Creation

15 Contact Information Ben Liyanage Information Systems Developer bliyanage@mica.edu bliyanage@mica.edu Presentation & Code Available For Download Here http://perfectresolution.com/?p=369 (You can also find it under the R25 tag)

16


Download ppt "Using Web Services to Create Events Web Services Explained And a Production Ready Example."

Similar presentations


Ads by Google