SlideShare a Scribd company logo
XML FOR DUMMIESBook author: Lucinda Dykes and Ed TittelSlides Prepared by Cong TanPart V : XML Application DevelopmentChapter 15: Using XML with Web services.
Contents.What’s up with Web Services?A Web Services ArchitectureWhere Will Web Services Lead?
1. What’s up with Web Service.In the Web services world, services customers—individuals, corporation, organizations, associations.In this  same world, service providers  seek to advertise and promote their services so that  service consumer can take a look  at the wealth of resources and pass these services on to their customers.Figure 15-1 illustrates how an e-mail client on the desktop sends and receive messages via mail servers on the Internet.
Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogspot.com
• A Web services model for e-mail(Hotmail, Yahoo! Mail, and other) take a different approach to e-mail access.• Figure 15-2 shows how the Web services e-mail approach is different from the desktop client e-mail approach.• You have to access  a Web page and provide an account name and password to supply proof of identity before you can access stored data of the Web application service.
2. A Web Services Architecture. The Web Services Architecture is divided into four layers.Higher layers depend and build  on the capabilities supplied  at lower layers. Here’s the list:Discovery is the part of Web services environment in which service providers can supply descriptions of the information and services that they have to offer.Description is the part of Web services in which available services and information are described in detail, along with the mechanisms necessary for prospective service consumers and  service providers to exchange information with one another.Packaging/Extensionsis the  part of Web services that handles issues related to managing, packaging, and securing exchanges of information between a service consumer and a service provider.Transportis the part of Web services that implements protocols related to moving messages from a sender to a receiver.
2.1  Transport: Moving XML messages. At Transport level — the bottom of the stack — software clients(like Web browsers) and service delivery software on Web servers communicate with each other.Bottom line? The Transport layer acts like the highway that carries messages from senders to receivers.
2.1.1 SOAPing it up. SOAP is independent of platform and language. A SOAP message is an XML document that is sent via a transport protocol.Underlying protocols in SOAP include not only  the HTTP already used for everyday Web communications. SOAP 1.2, also supports protocols in addition to HTTP, including  SMTP and TCP/IP.
2.1.2 SOAP revisited(version 1.2). SOAP 1.2 is  a World Wide Web Consortium(W3C) Recommendation and consists of four basic parts: An envelope that describes what’s in a message and how to process itA set of encoding rules for application-defined data typesA convention for remote procedure calls(RPCs) and responseA binding convention for exchanging messages via an underlying protocol.SOAP allows application to invoke object methods on remote servers.
2.2 Packaging/Extensions: Managing information exchange. One layer up from the Transport layer in the Web Services Architecture is the Packaging/Extensions layer.This layer is primarily concerned  with establishing, managing, securing, and packaging information for exchange between service consumers and providers.Packaging permits text information, images, and other kinds of binary data to be neatly encapsulated and sent to another party over a network.Extensions address enhancements to basic messaging services for the following reasons:To increase the level of security through encryptionTo strengthen the credentials that establish consumer and provider identities.To manage how messages are delivered from sender to receiver.SOAP provides packaging and extensions for Web services by specifying a binding.
2.3 Description: Specifying services and related components. The Description layer encompasses a number of XML applications designed to describe the following:How services are composedHow services may be usedHow services can interact with other servicesHow services must behaveWhat services can offer potential consumersMany languages are available for Description layer services.WSDL can provide a catalog of Yahoo!’s many services and the particulars of each of them.WSDL is an XML  format that describes the basic form of Web services requests with different network protocols. It can be extended to any network protocol or messages format.Each Web service includes  a WSDL file that describes the bindings, methods, and data inputs and outputs.
2.4 Discovery: Finding What’s available. At the top of the Web Services Architecture, you find XML applications geared to registering Web Services for discovery by searching for services, inquiring about specific  services, or inspecting what services a particular service provider offers.The major XML application used for discovery is UDDI.UDDI enables businesses to discover one another, to define how they can interact, and to share service description in a global registry.UDDI is a method for finding Web services.UDDI  is built upon SOAP and is independent of platform and implementation.Three types of information are provided in a UDDI registry:Contract and general business information(services, categories, URLS)Information about Web services a business provides and how an application finds a particular serviceTechnical details and binding information.
3. Where Will Web Services Lead?Those who build Web services applications must master the details of numerous XML languages, as well as know a scripting and/or programming language.The discovery process enables you to find Web services providers.If you want to check out some Web services, here are some Web sites of interest:XMethods:Xmethods(www.xmethods.com) provides a list of publicy available Web services that you can try out.SOAPMethods:  Tony Hong of Xmethods has a UDDI browser with a sample repository ready for immediate access at www.soapclient.com/uddisearch.html.Microsoft UDDI Registry: The Microsoft UDDI registry is free, but you must registry to use it at http://uddi.microsoft.com/default.aspx.Web Services List: The Web Services List offers a list of over 1000 Web services. This is updated very frequently and can be accessed at www.webservicelist.com.
    THE END

More Related Content

PDF
Web services concepts, protocols and development
PDF
Anatomy Of A Web Service
PPT
Web services ankur ppt
PDF
Web service assignment
DOCX
Impact of web life cycle activities & web services in modern era a review
PDF
Web Services
PPTX
Web services
Web services concepts, protocols and development
Anatomy Of A Web Service
Web services ankur ppt
Web service assignment
Impact of web life cycle activities & web services in modern era a review
Web Services
Web services

What's hot (20)

PPT
Description of soa and SOAP,WSDL & UDDI
PDF
web service technologies
PPTX
Introduction to webservices
PPTX
Introduction to Web Services
PDF
Introduction to Web Services
PDF
Review paper on web service security
PDF
As044285288
PPTX
Introduction To Web Services
PDF
Stateful Web Services - Short Report
PPTX
Lecture 16 - Web Services
PDF
Overview of web services
PPT
SynapseIndia dotnet web applications development
PPT
Webservices
PPTX
Xml web services
PPTX
Develop ASP.Net Web Service
PPT
Web services
PPTX
Web services
PDF
Introduction to Service Oriented Architectures, SOAP/WSDL Web Services and RE...
PPTX
Service view
PPTX
Web programming
Description of soa and SOAP,WSDL & UDDI
web service technologies
Introduction to webservices
Introduction to Web Services
Introduction to Web Services
Review paper on web service security
As044285288
Introduction To Web Services
Stateful Web Services - Short Report
Lecture 16 - Web Services
Overview of web services
SynapseIndia dotnet web applications development
Webservices
Xml web services
Develop ASP.Net Web Service
Web services
Web services
Introduction to Service Oriented Architectures, SOAP/WSDL Web Services and RE...
Service view
Web programming
Ad

Similar to Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogspot.com (20)

PDF
Web Service Implementation Using ASP.NET
PPTX
Service Oriented Architecture Updated Luqman
PPTX
nptl cc video.pptx
PPT
Mule webservices in detail
PPT
Web Services - Lectures and architecture.ppt
PPT
webservicearchitecture-150614164814-lva1-app6892.ppt
PDF
Week2 cloud computing week2
PPT
complete web service1.ppt
PPTX
Web service- Guest Lecture at National Wokshop
PPTX
Service Oriented Architecture Luqman
PPTX
Service Oriented Architecture
PPT
Web service
PPT
Detailed information on webservice by websoles
PPT
Web services Tutorial /Websoles Strategic Digital Solutions
PPT
Best Web services tutorial | Websoles Strategic Digital Solutions
PPT
Web service architecture
PPTX
Web Services in Cloud Computing.pptx
DOCX
Webservices
PPT
Java web services
Web Service Implementation Using ASP.NET
Service Oriented Architecture Updated Luqman
nptl cc video.pptx
Mule webservices in detail
Web Services - Lectures and architecture.ppt
webservicearchitecture-150614164814-lva1-app6892.ppt
Week2 cloud computing week2
complete web service1.ppt
Web service- Guest Lecture at National Wokshop
Service Oriented Architecture Luqman
Service Oriented Architecture
Web service
Detailed information on webservice by websoles
Web services Tutorial /Websoles Strategic Digital Solutions
Best Web services tutorial | Websoles Strategic Digital Solutions
Web service architecture
Web Services in Cloud Computing.pptx
Webservices
Java web services
Ad

More from phanleson (20)

PDF
Learning spark ch01 - Introduction to Data Analysis with Spark
PPT
Firewall - Network Defense in Depth Firewalls
PPT
Mobile Security - Wireless hacking
PPT
Authentication in wireless - Security in Wireless Protocols
PPT
E-Commerce Security - Application attacks - Server Attacks
PPT
Hacking web applications
PPTX
HBase In Action - Chapter 04: HBase table design
PPT
HBase In Action - Chapter 10 - Operations
PPT
Hbase in action - Chapter 09: Deploying HBase
PPTX
Learning spark ch11 - Machine Learning with MLlib
PPTX
Learning spark ch10 - Spark Streaming
PPTX
Learning spark ch09 - Spark SQL
PPT
Learning spark ch07 - Running on a Cluster
PPTX
Learning spark ch06 - Advanced Spark Programming
PPTX
Learning spark ch05 - Loading and Saving Your Data
PPTX
Learning spark ch04 - Working with Key/Value Pairs
PPTX
Learning spark ch01 - Introduction to Data Analysis with Spark
PPT
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagia
PPT
Lecture 1 - Getting to know XML
PPTX
Lecture 4 - Adding XTHML for the Web
Learning spark ch01 - Introduction to Data Analysis with Spark
Firewall - Network Defense in Depth Firewalls
Mobile Security - Wireless hacking
Authentication in wireless - Security in Wireless Protocols
E-Commerce Security - Application attacks - Server Attacks
Hacking web applications
HBase In Action - Chapter 04: HBase table design
HBase In Action - Chapter 10 - Operations
Hbase in action - Chapter 09: Deploying HBase
Learning spark ch11 - Machine Learning with MLlib
Learning spark ch10 - Spark Streaming
Learning spark ch09 - Spark SQL
Learning spark ch07 - Running on a Cluster
Learning spark ch06 - Advanced Spark Programming
Learning spark ch05 - Loading and Saving Your Data
Learning spark ch04 - Working with Key/Value Pairs
Learning spark ch01 - Introduction to Data Analysis with Spark
Hướng Dẫn Đăng Ký LibertaGia - A guide and introduciton about Libertagia
Lecture 1 - Getting to know XML
Lecture 4 - Adding XTHML for the Web

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Big Data Technologies - Introduction.pptx
PPT
Teaching material agriculture food technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Network Security Unit 5.pdf for BCA BBA.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Big Data Technologies - Introduction.pptx
Teaching material agriculture food technology
Dropbox Q2 2025 Financial Results & Investor Presentation
Digital-Transformation-Roadmap-for-Companies.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Modernizing your data center with Dell and AMD
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx

Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogspot.com

  • 1. XML FOR DUMMIESBook author: Lucinda Dykes and Ed TittelSlides Prepared by Cong TanPart V : XML Application DevelopmentChapter 15: Using XML with Web services.
  • 2. Contents.What’s up with Web Services?A Web Services ArchitectureWhere Will Web Services Lead?
  • 3. 1. What’s up with Web Service.In the Web services world, services customers—individuals, corporation, organizations, associations.In this same world, service providers seek to advertise and promote their services so that service consumer can take a look at the wealth of resources and pass these services on to their customers.Figure 15-1 illustrates how an e-mail client on the desktop sends and receive messages via mail servers on the Internet.
  • 5. • A Web services model for e-mail(Hotmail, Yahoo! Mail, and other) take a different approach to e-mail access.• Figure 15-2 shows how the Web services e-mail approach is different from the desktop client e-mail approach.• You have to access a Web page and provide an account name and password to supply proof of identity before you can access stored data of the Web application service.
  • 6. 2. A Web Services Architecture. The Web Services Architecture is divided into four layers.Higher layers depend and build on the capabilities supplied at lower layers. Here’s the list:Discovery is the part of Web services environment in which service providers can supply descriptions of the information and services that they have to offer.Description is the part of Web services in which available services and information are described in detail, along with the mechanisms necessary for prospective service consumers and service providers to exchange information with one another.Packaging/Extensionsis the part of Web services that handles issues related to managing, packaging, and securing exchanges of information between a service consumer and a service provider.Transportis the part of Web services that implements protocols related to moving messages from a sender to a receiver.
  • 7. 2.1 Transport: Moving XML messages. At Transport level — the bottom of the stack — software clients(like Web browsers) and service delivery software on Web servers communicate with each other.Bottom line? The Transport layer acts like the highway that carries messages from senders to receivers.
  • 8. 2.1.1 SOAPing it up. SOAP is independent of platform and language. A SOAP message is an XML document that is sent via a transport protocol.Underlying protocols in SOAP include not only the HTTP already used for everyday Web communications. SOAP 1.2, also supports protocols in addition to HTTP, including SMTP and TCP/IP.
  • 9. 2.1.2 SOAP revisited(version 1.2). SOAP 1.2 is a World Wide Web Consortium(W3C) Recommendation and consists of four basic parts: An envelope that describes what’s in a message and how to process itA set of encoding rules for application-defined data typesA convention for remote procedure calls(RPCs) and responseA binding convention for exchanging messages via an underlying protocol.SOAP allows application to invoke object methods on remote servers.
  • 10. 2.2 Packaging/Extensions: Managing information exchange. One layer up from the Transport layer in the Web Services Architecture is the Packaging/Extensions layer.This layer is primarily concerned with establishing, managing, securing, and packaging information for exchange between service consumers and providers.Packaging permits text information, images, and other kinds of binary data to be neatly encapsulated and sent to another party over a network.Extensions address enhancements to basic messaging services for the following reasons:To increase the level of security through encryptionTo strengthen the credentials that establish consumer and provider identities.To manage how messages are delivered from sender to receiver.SOAP provides packaging and extensions for Web services by specifying a binding.
  • 11. 2.3 Description: Specifying services and related components. The Description layer encompasses a number of XML applications designed to describe the following:How services are composedHow services may be usedHow services can interact with other servicesHow services must behaveWhat services can offer potential consumersMany languages are available for Description layer services.WSDL can provide a catalog of Yahoo!’s many services and the particulars of each of them.WSDL is an XML format that describes the basic form of Web services requests with different network protocols. It can be extended to any network protocol or messages format.Each Web service includes a WSDL file that describes the bindings, methods, and data inputs and outputs.
  • 12. 2.4 Discovery: Finding What’s available. At the top of the Web Services Architecture, you find XML applications geared to registering Web Services for discovery by searching for services, inquiring about specific services, or inspecting what services a particular service provider offers.The major XML application used for discovery is UDDI.UDDI enables businesses to discover one another, to define how they can interact, and to share service description in a global registry.UDDI is a method for finding Web services.UDDI is built upon SOAP and is independent of platform and implementation.Three types of information are provided in a UDDI registry:Contract and general business information(services, categories, URLS)Information about Web services a business provides and how an application finds a particular serviceTechnical details and binding information.
  • 13. 3. Where Will Web Services Lead?Those who build Web services applications must master the details of numerous XML languages, as well as know a scripting and/or programming language.The discovery process enables you to find Web services providers.If you want to check out some Web services, here are some Web sites of interest:XMethods:Xmethods(www.xmethods.com) provides a list of publicy available Web services that you can try out.SOAPMethods: Tony Hong of Xmethods has a UDDI browser with a sample repository ready for immediate access at www.soapclient.com/uddisearch.html.Microsoft UDDI Registry: The Microsoft UDDI registry is free, but you must registry to use it at http://uddi.microsoft.com/default.aspx.Web Services List: The Web Services List offers a list of over 1000 Web services. This is updated very frequently and can be accessed at www.webservicelist.com.
  • 14. THE END