View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
What are Web Services? A vague term, but in practice it usually means either SOAP-based or HTTP-based machine-to-machine communication:
SOAP style description
Demonstrate simpler REST style with examples
Introduce some pros and cons of each
What should we be doing in dbkgroup and why?
WS-* are interesting because they transform the web into…
--Harry Halpin and Henry Thompson, University of Edinburgh “One document to bind them: combining XML, web services, and the semantic web”, Proceedings of WWW2006 conference, see http://www.nodalpoint.org/2006/05/24/dub_dub_dub_06 image above via http://lipmagazine.org
If you hit the Amazon.com gateway page, the application calls more than 100 [web] services to collect data and construct the page for you .
--Werner Vogels, Chief Technology Officer (CTO) Amazon.com, interviewed in ACM Queue, 2006 see, http://www.cs.man.ac.uk/~hulld/q2006-09-27.html
WS-heaven or WS-hell? Users / clients Internet or Web (Interweb)?! http://en.wikipedia.org/wiki/Interweb Service providers: INPUT OUTPUT etc… workflow
SOAP and WSDL walkthrough Registry WSDL / UDDI Search / Browse SOAP (xml) HTTP INPUT / OUTPUT http://www.w3.org/TR/soap/ http://www.w3.org/TR/wsdl/ Ugly, heavyweight and complicated, seems like overkill? “ layers of complexity that aren’t needed”?
No matter how hard I try, I still think the WS-* stack is bloated, opaque, and insanely complex. I think it's going to be hard to understand, hard to implement, hard to interoperate, and hard to secure. --Tim Bray, Director of Web technology at Sun Microsystems Inc., “Loyal opposition to Web Services” (2004) http://www.cs.man.ac.uk/~hulld/q2004-11-02.html
Web service goodness The problem is most of today's “web services” have nothing to do with the Web.... Today's “web service” architectures reinvent or ignore every feature that makes the Web successful. --Leonard Richardson & Sam Ruby (IBM) “ RESTful Web Services ” (2007) book, see http://www.cs.man.ac.uk/~hulld/q2007-06-30.html
H.T.T.P. is just C.R.U.D…Create, Read, Update, Delete H.T.T.P. is K.I.S.S. too ( K eep I t S imple S tupid) DELETE (delete an existing resource) D ELETE PUT (modify or overwrite an existing resource) U PDATE GET (Retrieve a representation of a resource) R EAD POST (create a new resource) C REATE HTTP request method CRUD
Homer Simpson, Michael Parkin, Sam Ruby, Paul Downey, Tim Bray, Werner Vogels, Carole Goble, Stian Soiland, Tom Oinn and myGrid team, Leonard Richardson, Tim O’Reilly, Timo Hannay, Lincoln Stein, Roy Fielding, Greg Tyrelle, Harry Halpin, Henry Thompson, Hugo Haas, Roger Costello, John Cowan, Eric Newcomer, Steve Vinoski, Richard Apodaca and Douglas Kell
These slides are also available at http://www. slideshare .net/dullhunk
“ REST tutorial” by Roger Costello at http://www.xfront.com/REST.htm
“ Reconciling REST and Web Services” by Hugo Haas at http://www.w3.org/2005/Talks/1115-hh-k-ecows/
“ If Web Services are the Answer, What is the Question?” by Michael Parkin http://www.archive.org/details/IfWebServicesAreTheAnswerWhatsTheQuestion
“ RESTful Web Services” by John Cowan http://home.ccil.org/~cowan/restws.pdf