lecture12

lecture12 - Sheet1 Page 1 ----------------------- Page

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Sheet1 Page 1 ----------------------- Page 1----------------------- CSE 135 Server Side Web Languages Lecture # 12 Web Services ----------------------- Page 2----------------------- CSE 135 Server Side Web Languages Lecture # 12 What are Web Services? & Communication over the Web (typically program to program / server to server) generally using XML but now more and more JSON or even raw HTML responses & Two general flavors to Web Services RPC oriented Web services Data interchange oriented Web services & Multitude of formats Simple ad-hoc URL queries including RESTful services SOAP XML-RPC ----------------------- Page 3----------------------- CSE 135 Server Side Web Languages Lecture # 12 General Issues & Big Picture Service discovery Data format issues Payment / Business model & Implementation Platform integration Reliability Security Performance General Transport / Programming How Tos ----------------------- Page 4----------------------- CSE 135 Server Side Web Languages Lecture # 12 Roles under Web Services & Service Provider Provides a service (e.g. Stock quotes) and allows it to be accessed over a network (typically the Internet) Sheet1 Page 2 & Service Requestor L A consumer of a Web service (e.g. a program to request the stock quote) L Generally an XM based request made over some network connection & Service Registry L Directory of available services available for consumption X May be free or may be paid for ----------------------- Page 5----------------------- CSE 135 Server Side Web anguages ecture # 12 Traditional Roles in Web Services Visually Service Registry Discover service ? Invoke service Requestor Provider Response sent? ----------------------- Page 6----------------------- CSE 135 Server Side Web anguages ecture # 12 Web Services Stack Discovery UDDI Description WSD Messaging SOAP,XM-RPC, custom XM Transport HTTP,FTP,SMTP, ----------------------- Page 7----------------------- CSE 135 Server Side Web anguages ecture # 12 Web APIs Galore & http://www.programmableweb.com/apis j Many AJax APIs? & Not really, same origin concern for now j <script> tag APIs in a lot of cases & Returns wrapped SON packets Sheet1 Page 3 < myCallback({& zip j :92109, tempj : 91}) & Potential for maJor security abuses B F Most of these APIs tend to be RESTful X likely due to desire to make client consumable, coupled with lack of knowledge of SOAP and XML by many developers B F Mashups & & combining the data from a number of services together to create another service j This public services bring in issues of availability and ownership j Abuse and the creation of ad-hoc APIs is rampant (thus CAPTCHAs and other access control schemes) ----------------------- Page 8-----------------------...
View Full Document

Page1 / 11

lecture12 - Sheet1 Page 1 ----------------------- Page

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online