Web services

427 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
427
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Web services

  1. 1. Web Services Pushpendra Paliwal
  2. 2. History       Structured programming Object-oriented programming Distributed computing Electronic data interchange World Wide Web Web services
  3. 3. Who Was First?  What company first proposed the web services concept?      Hewlett-Packard's e-Speak in 1999 was an enabler for e-services Microsoft introduced the name "web services" in June 2000 MS "bet the company" on its web services strategy now every major vendor is a player
  4. 4. What is Web Service?
  5. 5. Class Interface & Webservice
  6. 6. Service-Oriented Science     Idea: need standards and interfaces to encapsulate information tools as services No knowledge of inner workings required Service oriented architecture: systems as networks of loosely-coupled, communicating services Service oriented science: scientific research enabled by networks of interoperating services
  7. 7. Web Service Challenge    Describe operations service supports Define protocol to invoke services over Internet Operate server to process incoming requests
  8. 8. Web Service Challenge      Interoperability Scale Management Quality Control Incentives
  9. 9. SOAP and REST  REST (Representational State Transfer)    Architecture style of networked systems JAX-WS SOAP (Simple Object Access Protocol)   Standard for sending messages between applications JAX-RS
  10. 10. SOAP and REST
  11. 11. SOAP and REST
  12. 12. SOAP VS REST  RESTs sweet spot is when you are exposing a public API over the internet to handle CRUD operations on data. REST is focused on accessing named resources through a single consistent interface.SOAP – messaging protocol for transporting information and instructions between applications (uses XML)
  13. 13. SOAP VS REST  SOAP brings it’s own protocol and focuses on exposing pieces of application logic (not data) as services. SOAP exposes operations. SOAP is focused on accessing named operations, each implement some business logic through different interfaces.
  14. 14. Why SOAP ? WS-Security  WS-Atomic Transaction  WS-Reliable Messaging 
  15. 15. Why SOAP ? WS-Security  WS-AtomicTransaction  WS-ReliableMessaging 
  16. 16. Open, Standard Technologies   XML – tagging data such that it can be exchanged between applications and platforms SOAP – messaging protocol for transporting information and instructions between applications (uses XML)
  17. 17. Open, Standard Technologies   WSDL – a standard method of describing web services and their specific capabilities (XML) UDDI – defines XML-based rules for building directories in which companies advertise themselves and their web services
  18. 18. SOAP
  19. 19. The Big Picture UDDI Registry Registry refers client to WSDL document WSDL Document Client queries registry to locate service Client accesses WSDL document Web service returns SOAP-message response Client sends SOAP-message request WSDL provides data to interact with web service Client Web Service Code
  20. 20. UDDI    UDDI defines an XML-based format that describes electronic capabilities and business processes Entries are stored in a UDDI registry UDDI Business Registry (UBR)     "white pages" – contact info, description "yellow pages" – classification info, details "green pages" – technical data uddi.microsoft.com
  21. 21. SOAP WSDL Class SEI
  22. 22. WSDL    Web services are self-describing Description is written in WSDL, an XMLbased language through which a web service conveys to applications the methods that the service provides and how those methods are accessed WSDL is meant to be read by applications (not humans)
  23. 23. WSDL-Simplified  It is similar to interface    Name Input Output
  24. 24. WSDL  http://www.webservicex.net/ws/WSDetails. aspx?WSID=64&CATID=12
  25. 25. Real Web Services  Accenture    Live Information Models stock traders access real-time information from a single terminal Dollar Rent-a-Car + Southwest Airlines    Southwest runs Unix Dollar runs MS Windows Dollar turned its system into a web service
  26. 26. More Examples  Web service broker sites  www.xmethods.net  www.salcentral.com
  27. 27. Online Resources  www.deitel.com   www.w3.org    web services, C# World Wide Web Consortium (W3C) recommendations, news, mission, FAQs www.w3.org/History.html  history of computing and internet from 1945 to now
  28. 28. Online Resources  www.webservices.org   news, standards, vendors, platforms, products, applications, case studies, security mechanisms www.webservicesarchitect.com  online journal for web service developers; tools, vendors, business models, additional resources
  29. 29. Online Resources  www.ws-i.org  web service interoperability organization (WS-I); promote interoperability among services created in different languages and platforms; white papers, news, FAQs
  30. 30. Online Resources  www.xml.com/lpt/a/2002/02/06/ webservices.html   "Web Service Pitfalls": limitations, unresolved security issues www.webservices.org/print.php? sid=201  "Web Services—A Reality Check": transactions, security, QoS
  31. 31. More Info  www.w3.org/2002/ws   www.uddi.org   explanation; business benefits www.oasis-open.org   web services activity technical work and standards www.ebxml.org  technology and business benefits

×