web services in a web company
play

Web services in a Web company Hugo Haas & Mark Nottingham W3C - PowerPoint PPT Presentation

Web services in a Web company Hugo Haas & Mark Nottingham W3C Workshop on Web Services for Enterprise Computing February 28, 2007 1 Yahoo! Web company Various platforms & tools: C/C++, PHP, Perl, some Java


  1. Web services in a Web company Hugo Haas & Mark Nottingham W3C Workshop on Web Services for Enterprise Computing February 28, 2007 1

  2. Yahoo! • Web company • Various platforms & tools: – C/C++, PHP, Perl, some Java – Open-source • Several POVs about services 2

  3. Web services flavors • Anything which exposes an API • Several flavors: – HTTP-based (I.e. not SOAP) – SOAP-based • Each have their advantages and issues 3

  4. SOAP-based Web services 4

  5. Advertiser Web Services 5

  6. Yahoo! Mail: 2B+ SOAP messages / week 6

  7. What pushes people towards SOAP • Mainly: code generation • Who our customers are • Other reasons: historical, etc. 7

  8. Issues with SOAP • Interoperability: when the code generation dream becomes a nightmare • WS-* support poor; typically, not used at Y! • Complexity 8

  9. HTTP-based services 9

  10. Most of our external services 10

  11. Why? • Developers familiar with the Web • No special tool or library needed • Audience: – Web developers doing PHP, Python, JavaScript, etc. 11

  12. Description and code generation • People want to write code fast • Big draw towards SOAP • However: beware of interoperability issues • Description language: – Documentation – Code generation 12

  13. Authentication headache 1. User Cache Web Service 1 Service 2 application 3. Application 5. Service 1 Partner 4. Cache Yahoo! 2. Partner 13

  14. Limitations of existing HTTP authentication schemes • Limitation of the number of entities identifiable • Cross-host in a domain • Basic auth: – Poor security • Digest auth: – Not widespread implementation – Chatty • Not to mention browser-side issues 14

  15. Real world work-arounds • Cookies • In-URL credentials • Custom authentication schemes • Custom headers • Main challenges: – Tool support – Caching 15

  16. Major issue • Some requirements – Support for multiple credentials – Support for both browser & tools – Cross-host – Support for custom login interface • SOAP not much better: WS-Security not widespread 16

  17. Suggestions 17

  18. SOAP-based services • Stop doing more extensions! • Make the basic stuff work in an interoperable way first • XML Databinding: saddened by lack of vendor recognition of the issue • WSDL 2.0 • Focus on interoperability 18

  19. HTTP-based services • Tools • Recognize the use of cookies for authentication • Interest in HTTP auth in various places (e.g. IETF) – Put down requirements – Work with the community at large 19

  20. 20

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend