lecture12

lecture12 - Sheet1 Page 1 ï» Page 1 CSE 135 Server Side...

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 Document Right Arrow Icon

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

View Full Document Right 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,â· “ tempâj · : 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

{[ snackBarMessage ]}

Page1 / 11

lecture12 - Sheet1 Page 1 ï» Page 1 CSE 135 Server Side...

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