Windows communication foundation (part1) jaliya udagedara

1,175 views
1,185 views

Published on

Introduction to Web Services.

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
1,175
On SlideShare
0
From Embeds
0
Number of Embeds
621
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Speaker Notes:Object OrientedInheritancePolymorphismAbstractionComponent BasedComponents : Objects not classesCommunicate though InterfacesEncapsulationSubstitutable : Classes that implements the interfaces can be replaced. (Component B can immediately replace component A, if component B provides at least what component A provided and uses no more than what component A used)Serialization : Store objects or Pass objects from one place to other
  • Windows communication foundation (part1) jaliya udagedara

    1. 1. Windows Communication Foundation (WCF) - Part 1 Jaliya Udagedara MCPD http://www.jaliyaudagedara.blogspot.com/
    2. 2. What are we going to discuss today?• Software Development Evolution• Web Services• Web Service Architecture• Invoke a Web Service• XML• SOAP• WSDL• UDDI• Demo
    3. 3. Software Development Evolution 1980s 1990s 2000s Object Component Service Oriented Based Oriented• OOP Concepts • Components • Web Services • Interfaces • HTTP Requests • Substitutable • XML Messages • Serialization
    4. 4. Web Services• What is a Web Service?A software component designed tosupport interoperable machine-to-machine interaction over a network.
    5. 5. Web Services contd.• Runs on a Web server.• HTTP over RPC.• SOAP (Simple Object Access Protocol) or REST (REpresentational State Transfer).• Exposes functions.• Listens for HTTP requests and executes Web methods.• Software as a service without concern for the type of consumer.
    6. 6. Web Service Architecture Discovery Discover & Locate Description WSDL Invocation SOAP Transport HTTP
    7. 7. Invoke a Web Service WSDL SOAP Request Client Service SOAP Response• Provides an endpoint description using WSDL. Processes XML messages framed using SOAP.• Describes its messages using XML Schema.• Communicates via open protocols (HTTP etc).• Can be discovered using UDDI.
    8. 8. XML• eXtensible Markup Language.• XML : much like HTML.• For describing data.• XML tags are not predefined. We define our own tags.• Prefect for Web Services.
    9. 9. XML contd. : XML vs. HTML <html> <body> <h1>Hello HTML</h1> <p>Paragraph</p> </body> </html>
    10. 10. XML contd. : XML vs. HTML <?xml version=1.0?> <myxml> <mytitle>Hello XML</mytitle> <mypara>Paragraph</mypara> </myxml> </xml>
    11. 11. XML contd. : XML vs. HTML• HTML • What Information? • Hard for machine. Relatively easy for human.• XML • Not displaying. • Readable to both human and machines.
    12. 12. SOAP (Simple Object Access Protocol)• SOAP is a format for sending messages.• SOAP is platform independent.• SOAP is language independent.• Different applications running on different operating systems.• SOAP is based on XML.
    13. 13. SOAP (Simple Object Access Protocol)• SOAP is a format for sending messages.• SOAP is platform independent.• SOAP is language independent.• Different applications running on different on operating systems.• SOAP is based on XML.
    14. 14. WSDL (Web Service DefinitionLanguage)• Describes the functions & location of the service.• Again XML Based.
    15. 15. UDDI (Universal Description Discoveryand Integration)• Directory of web service interfaces.• Uses WSDL to describe interfaces.• Communicates via SOAP.
    16. 16. DEMO
    17. 17. Thank You!

    ×