• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Web services and SOA
 

Web services and SOA

on

  • 3,320 views

My personal note about SOAP and REST Web Services and SOA.

My personal note about SOAP and REST Web Services and SOA.

Statistics

Views

Total Views
3,320
Views on SlideShare
3,248
Embed Views
72

Actions

Likes
0
Downloads
227
Comments
0

14 Embeds 72

http://subinsugunan.blogspot.com 42
http://subinsugunan.blogspot.in 10
http://subinsugunan.blogspot.fr 3
http://subinsugunan.blogspot.co.nz 2
http://subinsugunan.blogspot.it 2
http://subinsugunan.blogspot.co.uk 2
http://subinsugunan.blogspot.de 2
http://subinsugunan.blogspot.sk 2
http://subinsugunan.blogspot.nl 2
http://www.linkedin.com 1
http://subinsugunan.blogspot.gr 1
http://subinsugunan.blogspot.com.br 1
http://subinsugunan.blogspot.ru 1
http://subinsugunan.blogspot.mx 1
More...

Accessibility

Categories

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.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Gartner is an information technology research and advisory company providing technology related insight. More info http://www.databaseanswers.org/web_services_history.htm
  • The data types used by the web service The messages used by the web service The operations performed by the web service The communication protocols used by the web service
  • Along with this you must also know the tools like Java2WSDL, and WSDL2Java Java2WADL, and WADL2Java in case you break your deployment with the Web service.
  • [http://www.xml.com/pub/at/29] [http://www.javaworld.com/javaworld/jw-03-2003/jw-0321-wssecurity.html] [http://www.ibm.com/developerworks/java/library/j-jws4/] Security! • "SOAP is firewall friendly" – Normally transported over HTTP – Firewalls expect HTTP to be Web requests, not procedure calls • Fetch the brochure… • Not update my bank account… – This is probably a good thing! • Have to rely on strong security rather than weaker physical security WS-Security • Proposal from IBM & MS • SOAP header extensions – Protect integrity and confidentiality of messages – Attach encoded security tokens • X509, Kerberos • Leverage XML standards – XML Signature – XML Encryption More WS-Security • WS-Policy – Specifying requirements & capabilities – Policies including privacy, encoding security tokens, QoS, … – First published Dec 2002 • WS-Trust – Establishing trust relationships – Trusted security tokens – First published Dec 2002 More WS-Security • WS-Privacy • WS-SecureConversation • Ws-Federation • Ws-Authorization And probably a few more… More Security Standards • SAML – Representing authentication and authorisation information • XACML – Access Control • XrML – Digital Rights

Web services and SOA Web services and SOA Presentation Transcript

  • Web Services And SOA [email_address]
  • What’s Inside
    • SOA
    • Web Services Vision
    • Web Services
    • History of Web services
    • Type of Web services
    • SOAP Web Service
    • WSDL
    • UDDI
    • RESTful Web Service
    • WADL
    • Testing
    • Security
  • Intent
    • Most enterprises have made extensive investments in system resources over the course of many years. Such enterprises have an enormous amount of data stored in legacy enterprise information systems (EIS),so it's not practical to discard existing systems. It's more cost-effective to evolve and enhance EIS. But how can this be done ?
    • SOA and WebServices is the key
  • SOA
    • SOA is a Software Design Approach
    • Conceptually a collection of services on a network that communicate with one another.
    • Services are loosely coupled
    • SOA is a higher level of application development.
    • SOA typically leverages on standards based integration.
    • The key players include service provider and service consumer
  • Advantages of SOA
    • Service-oriented architecture (SOA) helps organizations more easily transform their business processes for high performance by simplifying the underlying information systems
    • Service-oriented architectures enable organizations to become more agile
    • Drives cost reductions
    • Simpler systems
    • Lowering maintenance costs
    • Enhancing architectural flexibility
    • Lowering integration costs.
  • A Vision…
    • A peaceful, harmonious services-based world…
    • Applications everywhere exporting services and working together
    • Seamless, easy integration between applications, across departments, across organizations.
    • One common set of standards
    • A programmable Web…
  • Web Services Vision
  • What Are Web Services ?
    • Software Components that can be published, located and run over the internet
    • Web services are application components
    • Web services communicate using open protocols
    • Web services are self-contained and self-describing
    • Web services can be discovered using UDDI
    • Web services can be used by other applications
    • XML is the basis for Web services
    • Web Services helps in reusability
    • Web services support interoperability
    • The Concept of SOA is realized using web services
  • W3C (working group) definition
    • "A Web service is a software application identified by a URI, whose interfaces and bindings are capable of being defined, described and discovered as XML artifacts. A Web service supports direct interactions with other software agents using XML based messages exchanged via internet-based protocols."
  • History of Web services
    • Web Services have evolved through three distinct Phases.
    Phase Period Description 1 1999-01 Set timeline for the adoption of Web Services. Many Web Services development tools delivered from Microsoft, IBM, Sun, Software AG, Oracle and many others. 2 2002-04 Business Web Services start to appear in large numbers. Adoption of UDDI Registries in 2003. 40% of financial services transactions leveraged in Web Services models. 3 2005-> A number of issues of previous phases are addressed. These include: Quality of Service (QoS); network reliability; transaction recovery; real-time messaging; security; and billing mechanisms. Adapted dynamic Web Services. Organizations changed not only their business processes, but also their business models as they move to real-time collaboration and integration of processes both within and between enterprises..
  • Type of Web services SOAP REST and more ..
  • SOAP - a type of Web Service
    • Web-based applications that dynamically interact with other Web applications using open standards that include XML, UDDI and SOAP.
    • JAX-WS
    • Let’s see an example
  • SOAP Web Services Architecture
  • What is SOAP ?
    • SOAP is an XML-based protocol to let applications exchange information over HTTP.
    • SOAP stands for Simple Object Access Protocol
    • SOAP is a communication protocol
    • SOAP is a format for sending messages
    • SOAP is designed to communicate via Internet
    • SOAP is platform independent
    • SOAP is language independent
    • SOAP is based on XML
    • SOAP is simple and extensible
    • SOAP allows you to get around firewalls
    • SOAP is a W3C standard
  • Skeleton of SOAP Message <?xml version=&quot;1.0&quot;?> <soap:Envelope xmlns:soap=&quot;http://www.w3.org/2001/12/soap-envelope&quot; soap:encodingStyle=&quot;http://www.w3.org/2001/12/soap-encoding&quot;> <soap:Header> ... </soap:Header> <soap:Body> ... <soap:Fault> ... </soap:Fault> </soap:Body> </soap:Envelope>
  • WSDL - about Web Services
    • WSDL stands for Web Services Description Language
    • WSDL is written in XML
    • WSDL is an XML document
    • WSDL is used to describe Web services
    • WSDL is also used to locate Web services
    • WSDL is a W3C recommendation
    • WSDL Describes Web Services
  • The WSDL Document Structure <definitions> <types> definition of types........ </types> <message> definition of a message.... </message> <portType> definition of a port....... </portType> <binding> definition of a binding.... </binding> </definitions>
  • UDDI - a registry of Services
    • UDDI is a platform-independent framework for describing services, discovering businesses, and integrating business services by using the Internet.
    • UDDI stands for Universal Description, Discovery and Integration
    • UDDI is a directory for storing information about web services
    • UDDI is a directory of web service interfaces described by WSDL
    • UDDI communicates via SOAP
    • UDDI is built into the Microsoft .NET platform
  • UDDI Publishing and Searching
  • Testing SOAP
    • SoapUI
    • Web Service Call Composer
    • WebInject
    • JMeter
    • SOAPSonar Personal Edition
    • SOA Cleaner
    • Vordel SOAPbox
    • Storm
  • REST - another Web Service
    • REST (representational state transfer) is an approach for getting information content from a Web site by reading a designated URI that contains an XML file that describes and includes the desired content.
    • That’s it! You use HTTP (GET,PUT,…) to a URI, with XML as the payload
      • create – POST
      • read – GET
      • update – PUT
      • delete – DELETE
    • JAX-RS
    • Let’s see an example
  • WADL - REST equivalent of a WSDL WADL – Web Application Description Language
  • Testing REST
    • SoapUI
    • SOA Cleaner
    • Rest-client
    • FireFox Add-Ons
    • Firebug
    • Poster
    • RESTClient
    • RESTTest
    • HTTP Resource Test
  • Security
    • &quot;SOAP is firewall friendly”
    • SOAP header extensions
      • XML Signature
      • XML Encryption
    • More WS-Security
    • WS-Policy
    • WS-Trust
    • WS-Privacy
    • WS-SecureConversation
    • Ws-Federation
    • Ws-Authorization
    • And probably a few more…
  • Resources
    • http://www.w3schools.com/webservices/default.asp
    • http://www.databaseanswers.org/web_services_history.htm
    • http://www.w3schools.com/soap/default.asp
    • http://www.w3schools.com/wsdl/default.asp
    • www.genomeutwin.org/events/SENGER_060504_webservices.ppt
    • www.ict.csiro.au/mu/Trends/Presentations/CSIROWebServices.pdf
    • RESTful Web Services.pdf By Daniel Glauser
  • Thank You