Bottom-Line Web Services
Upcoming SlideShare
Loading in...5

Like this? Share it with your network


Bottom-Line Web Services



Web services for citizens

Web services for citizens



Total Views
Views on SlideShare
Embed Views



1 Embed 6 6



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Bottom-Line Web Services Presentation Transcript

  • 1. Bottom-line web services Demystifying, coding and even more coding
  • 2. So much confusion
    • What
    • Why
    • How
  • 3. What!
    • Some would say:
    • Your new best friends
    • The savior of your business (or projects)
    • The new generation of web
    • Others would say:
    • The doom of your web app and business
  • 4. What the heck!
    • More confusion:
    • XML JSON
  • 5. So Really, What are they?!
    • In a very straight answer they are:
    • a network interface to application functionality, based on standard Internet technologies.
  • 6. Take a look
    • A Web service lets you access application functionality over the Internet or just any other network!
    As a programmer Web services can be thought of as functions that you can call over the Internet!
  • 7. we all speak the same language
    • a Java program can access and use a Web service written in VB.NET and deployed on a Windows server just as easily as a Windows (say C#) program can use a Web service written in Java and running on a Linux Web server.
  • 8. Like what?
    • spell checking, translation , …
    • stock quotes, currency exchange rates, …
    • Weather Reports
    • And the list goes on and on!
  • 9. How !
    • Web service technology has evolved around a stack of five technologies
  • 10. Example
    • Real examples goes across the stack in a top – down approach!
  • 11. All that for just a RPC
    • UDDI, WSDL, and SOAP
    • Nothing really new they are all XML Based
  • 12. Exotic!!!!!!!!!!!!!
  • 13.  
  • 14. SOAP is Fat, XML-RPC is neat
    • SOAP Specification is 11,000 words
    • XML-RPC Specification is 1500 words
    • XML-RPC has a stable specification, SOAP might undergo some changes
    • SOAP is meant for enterprise level apps
    • SOAP with be the W3C standard pretty soon!
  • 15. Sample XML-RPC message
    • Request (from your XML-RPC client):
    •   POST /xmlrpcInterface HTTP/1.0  User-Agent: Sitepoint XML-RPC Client 1.0  Host:  Content-type: text/xml  Content-length: 195  <?xml version=&quot;1.0&quot;?>  <methodCall>
    • <methodName>forums.getNumTodaysThreads</methodName>    <params>       <param><value><string>Study</string></value></param>    </params>  </methodCall>
  • 16. Sample XML-RPC message
    • Response (from the XML-RPC server):
    • HTTP/1.1 200 OK  Connection: close  Content-Length: 148  content-Type: text/xml  Date: Wed, Jul 28 1999 15:59:04 GMT  Server: Sitepoint XML-RPC Server 1.0  <?xml version=&quot;1.0&quot;?>  <methodResponse>    <params>       <param>        <value><int>42</int></value>       </param>    </params>  </methodResponse>
  • 17. XML vs. JSON
    • James Clark (creator of XML) said:
    • any damn fool could produce a better data format than XML
    • Douglas Crockford Created JSON
  • 18. JSON
    • JSON (JavaScript Object Notation) is a lightweight data interchange format.
    • It is easy for humans to read and write.
    • It is easy for machines to parse and generate.
    • It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999.
    • JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.
    • These properties make JSON an ideal data-interchange language.
  • 19. Quick Sample
  • 20. Oh, Thank you!!
  • 21. References
    • Web Services Demystified By Kevin Yank
    • at