Your SlideShare is downloading. ×
Bottom-Line Web Services
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Bottom-Line Web Services


Published on

Web services for citizens

Web services for citizens

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 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