SlideShare una empresa de Scribd logo
1 de 16
© SpringPeople Software Private Limited, All Rights Reserved.© SpringPeople Software Private Limited, All Rights Reserved.
Introduction to JAVA Web
Services
© SpringPeople Software Private Limited, All Rights Reserved.
What are Web Services?
• Web Services are used to build interoperable distributed services across
different platform.
– The client and server can be developed on different platforms and in
different languages, yet they can exchange requests and responses.
– For example, a Java client can consume a .NET based service and vice-
versa
• Legacy or new systems can be integrated rather easily by exposing them as
web services.
– A better ROI from every system can be achieved.
© SpringPeople Software Private Limited, All Rights Reserved.
Typical Distributed Architecture
© SpringPeople Software Private Limited, All Rights Reserved.
Distributed Architecture Examples
• Java Platform
– RMI (Remote Method Invocation), EJB (Enterprise Java
Beans), CORBA, now not so famous
• @Remote interface as the interface
• @SessionBean as implementation
• JNDI Directory as the registry
• JBoss as the service container & publisher
• InitialContext.lookup() for fetching proxy on the client side
• COM/DCOM on Microsoft platform
© SpringPeople Software Private Limited, All Rights Reserved.
Major Shortcomings of
Distributed System
•Both client and server must be on the same platform
Clients on other platforms can not utilize the services
Changes in server-side environment affect all the clients
•Client must have server side API for interaction
Client can not be developed unless the API is distributed
Often the API may be priced, poorly documented and etc.,
•The protocol between client and server is also platform specific
and often proprietary
Client that wants to connect to several remote objects have to implement
all the specified protocols
© SpringPeople Software Private Limited, All Rights Reserved.
Web Service Architecture
Solution
© SpringPeople Software Private Limited, All Rights Reserved.
Web Services Standards
• Web Services are build on three foundation standards
– Web Service Definition Language (WSDL): An XML based IDL to
describe the service definitions in a language agnostic way
– Service Oriented Architecture Protocol (SOAP): An XML based PDU for
communication between the clients and services
– Universal Description Discovery and Integration (UDDI): An XML based
registry for service publication and discovery
• Bodies like OASIS proposed and publicized other standards as well
– Standards like WS-Address, WS-Security, WS-Authentication and etc.,
are built on top of foundation standards
© SpringPeople Software Private Limited, All Rights Reserved.
Web Service Definition Language
(WSDL)
What is WSDL?
• Its an IDL for describing a web service interface.
• The service is meant for the clients of any platform.
• Its XML based.
Who develops them?
• WSDL is hand-written in Contract-First Approach
• WSDL is generated in Contract-Last Approach
© SpringPeople Software Private Limited, All Rights Reserved.
What WSDL consists of?
An abstract section
• Types: Describes the XML types & elements that are used in the messages
to/from the web services.
• Messages: Describes the input, output and fault messages that comes into
and goes out of web service operations.
• PortType: Names the web service and describes the operations offered by
the web service
A concrete section
• Bindings: Describes the transport protocol like HTTP to carry the SOAP
envelope for communicating with web service.
• Service: Describes the endpoint where the service is really available for
consumption
© SpringPeople Software Private Limited, All Rights Reserved.
SOAP/XML
What is SOAP?
• It stands for Service Oriented Architecture Protocol in the
SOA/Web Services combination.
– It originally stood for Simple Object Access Protocol when web
services were merely meant for lightweight RPC calls.
What is its job?
• It carries the payload for request/response between the client
and the server.
– Obviously its an XML document (JSON is also supported)
© SpringPeople Software Private Limited, All Rights Reserved.
Who writes and consumes
SOAP/XML?
• Web Service clients/servers dynamically prepares and
consumes the SOAP envelopes
© SpringPeople Software Private Limited, All Rights Reserved.
Who carries SOAP and what it
consist of?
• HTTP or protocol (as specified in WSDL) carries it
• It consists of optional Header and mandatory Body
© SpringPeople Software Private Limited, All Rights Reserved.
Web Services v/s SOA
•Web Services is one of the technologies to implement Service Oriented
Architectures (SOA)
However, Web Services predates SOA.
Primary intention of web services was to make RPC calls, later it
became a technology of choice for SOA implementation
•Clients can be developed as an orchestration of services from various
endpoints that confirms to SOA
Business processes can be delivered in accordance with Software As
A Service (SAAS) paradigm.
Services needs not be installed at client site, they are just consumed.
© SpringPeople Software Private Limited, All Rights Reserved.
Become a Web Services Expert In
3 Days Flat
Attend the 3-Days “Web Services Workshop”
View Complete Details
© SpringPeople Software Private Limited, All Rights Reserved.
Who will benefit?
Developers and Programmers, who wish to build interoperable distributed
services across different platform.
View Complete Details
© SpringPeople Software Private Limited, All Rights Reserved.
Q & A
training@springpeople.com
+91 80 65679700
www.springpeople.com
A SpringSource Certified Partner and
VMware Authorized Training Center

Más contenido relacionado

La actualidad más candente

Cf summit2014 roadmap
Cf summit2014 roadmapCf summit2014 roadmap
Cf summit2014 roadmap
James Bayer
 
WSO2 ESB Integration with REST
WSO2 ESB Integration with RESTWSO2 ESB Integration with REST
WSO2 ESB Integration with REST
WSO2
 
Mashups For Soa
Mashups For SoaMashups For Soa
Mashups For Soa
WSO2
 
Ss Esb
Ss EsbSs Esb
Ss Esb
WSO2
 
Role of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EIRole of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EI
WSO2
 

La actualidad más candente (20)

Introduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeopleIntroduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeople
 
Introduction to Puppet - SpringPeople
Introduction to Puppet - SpringPeopleIntroduction to Puppet - SpringPeople
Introduction to Puppet - SpringPeople
 
Cf summit2014 roadmap
Cf summit2014 roadmapCf summit2014 roadmap
Cf summit2014 roadmap
 
Spring Integration: from XML to Java DSL
Spring Integration: from XML to Java DSLSpring Integration: from XML to Java DSL
Spring Integration: from XML to Java DSL
 
Mule Hyderabad Meetup (Mule 4)
Mule Hyderabad Meetup (Mule 4)Mule Hyderabad Meetup (Mule 4)
Mule Hyderabad Meetup (Mule 4)
 
WSO2 ESB Integration with REST
WSO2 ESB Integration with RESTWSO2 ESB Integration with REST
WSO2 ESB Integration with REST
 
Whitebase : Assault Carrier for Micro-Services
Whitebase : Assault Carrier for Micro-ServicesWhitebase : Assault Carrier for Micro-Services
Whitebase : Assault Carrier for Micro-Services
 
Build and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API GatewayBuild and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API Gateway
 
Deep Dive into Salesforce APIs
Deep Dive into Salesforce APIsDeep Dive into Salesforce APIs
Deep Dive into Salesforce APIs
 
Understanding the WSO2 Platform
Understanding the WSO2 PlatformUnderstanding the WSO2 Platform
Understanding the WSO2 Platform
 
Low-Code Integrations in Alfresco Process Services using MuleSoft
Low-Code Integrations in Alfresco Process Services using MuleSoftLow-Code Integrations in Alfresco Process Services using MuleSoft
Low-Code Integrations in Alfresco Process Services using MuleSoft
 
Mule Meetup Hyderabad
Mule Meetup HyderabadMule Meetup Hyderabad
Mule Meetup Hyderabad
 
Web, Mobile, App and Back!
Web, Mobile, App and Back!Web, Mobile, App and Back!
Web, Mobile, App and Back!
 
Api gateway : To be or not to be
Api gateway : To be or not to beApi gateway : To be or not to be
Api gateway : To be or not to be
 
SOA: What It Means To The Enterprise
SOA: What It Means To The EnterpriseSOA: What It Means To The Enterprise
SOA: What It Means To The Enterprise
 
Mule 4 vanrish
Mule 4   vanrishMule 4   vanrish
Mule 4 vanrish
 
Mashups For Soa
Mashups For SoaMashups For Soa
Mashups For Soa
 
Introduction to Mulesoft
Introduction to MulesoftIntroduction to Mulesoft
Introduction to Mulesoft
 
Ss Esb
Ss EsbSs Esb
Ss Esb
 
Role of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EIRole of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EI
 

Destacado

Destacado (10)

SpringPeople Introduction to iOS Apps Development
SpringPeople Introduction to iOS Apps DevelopmentSpringPeople Introduction to iOS Apps Development
SpringPeople Introduction to iOS Apps Development
 
Introduction To Jenkins - SpringPeople
Introduction To Jenkins - SpringPeopleIntroduction To Jenkins - SpringPeople
Introduction To Jenkins - SpringPeople
 
SpringPeople Introduction to Agile and Scrum
SpringPeople Introduction to Agile and ScrumSpringPeople Introduction to Agile and Scrum
SpringPeople Introduction to Agile and Scrum
 
Introduction To Core Java - SpringPeople
Introduction To Core Java - SpringPeopleIntroduction To Core Java - SpringPeople
Introduction To Core Java - SpringPeople
 
Introduction To Hadoop Administration - SpringPeople
Introduction To Hadoop Administration - SpringPeopleIntroduction To Hadoop Administration - SpringPeople
Introduction To Hadoop Administration - SpringPeople
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
 
SpringPeople Introduction to Mule ESB
SpringPeople Introduction to Mule ESBSpringPeople Introduction to Mule ESB
SpringPeople Introduction to Mule ESB
 
SpringPeople Introduction to Spring Framework
SpringPeople Introduction to Spring FrameworkSpringPeople Introduction to Spring Framework
SpringPeople Introduction to Spring Framework
 
SpringPeople Introduction to Apache Hadoop
SpringPeople Introduction to Apache HadoopSpringPeople Introduction to Apache Hadoop
SpringPeople Introduction to Apache Hadoop
 
Introduction To Big Data Analytics On Hadoop - SpringPeople
Introduction To Big Data Analytics On Hadoop - SpringPeopleIntroduction To Big Data Analytics On Hadoop - SpringPeople
Introduction To Big Data Analytics On Hadoop - SpringPeople
 

Similar a SpringPeople Introduction to JAVA Web Services

APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?
Akana
 

Similar a SpringPeople Introduction to JAVA Web Services (20)

Wt unit 6 ppts web services
Wt unit 6 ppts web servicesWt unit 6 ppts web services
Wt unit 6 ppts web services
 
APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?
 
Web services
Web servicesWeb services
Web services
 
Web service Introduction
Web service IntroductionWeb service Introduction
Web service Introduction
 
Web service implementation
Web service implementationWeb service implementation
Web service implementation
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webservice
 
6. The grid-COMPUTING OGSA and WSRF
6. The grid-COMPUTING OGSA and WSRF6. The grid-COMPUTING OGSA and WSRF
6. The grid-COMPUTING OGSA and WSRF
 
APIs Design - Creation - Management.pdf
APIs Design - Creation - Management.pdfAPIs Design - Creation - Management.pdf
APIs Design - Creation - Management.pdf
 
CS-802 Act-1.ppt
CS-802 Act-1.pptCS-802 Act-1.ppt
CS-802 Act-1.ppt
 
WebServices
WebServicesWebServices
WebServices
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
Web services
Web servicesWeb services
Web services
 
WebService-Java
WebService-JavaWebService-Java
WebService-Java
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
 
Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface) Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface)
 
Applying xml
Applying xmlApplying xml
Applying xml
 
Mini-Training: Let's have a rest
Mini-Training: Let's have a restMini-Training: Let's have a rest
Mini-Training: Let's have a rest
 
Soa implementation styles
Soa implementation stylesSoa implementation styles
Soa implementation styles
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 

Más de SpringPeople

Más de SpringPeople (15)

Growth hacking tips and tricks that you can try
Growth hacking tips and tricks that you can tryGrowth hacking tips and tricks that you can try
Growth hacking tips and tricks that you can try
 
Top Big data Analytics tools: Emerging trends and Best practices
Top Big data Analytics tools: Emerging trends and Best practicesTop Big data Analytics tools: Emerging trends and Best practices
Top Big data Analytics tools: Emerging trends and Best practices
 
Introduction to Big Data
Introduction to Big DataIntroduction to Big Data
Introduction to Big Data
 
Introduction to Microsoft Azure IaaS
Introduction to Microsoft Azure IaaSIntroduction to Microsoft Azure IaaS
Introduction to Microsoft Azure IaaS
 
Introduction to Selenium WebDriver
Introduction to Selenium WebDriverIntroduction to Selenium WebDriver
Introduction to Selenium WebDriver
 
Introduction to Open stack - An Overview
Introduction to Open stack - An Overview Introduction to Open stack - An Overview
Introduction to Open stack - An Overview
 
Best Practices for Administering Hadoop with Hortonworks Data Platform (HDP) ...
Best Practices for Administering Hadoop with Hortonworks Data Platform (HDP) ...Best Practices for Administering Hadoop with Hortonworks Data Platform (HDP) ...
Best Practices for Administering Hadoop with Hortonworks Data Platform (HDP) ...
 
Why 2 million Developers depend on MuleSoft
Why 2 million Developers depend on MuleSoftWhy 2 million Developers depend on MuleSoft
Why 2 million Developers depend on MuleSoft
 
Mongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorials
Mongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorialsMongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorials
Mongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorials
 
Mastering Test Automation: How To Use Selenium Successfully
Mastering Test Automation: How To Use Selenium SuccessfullyMastering Test Automation: How To Use Selenium Successfully
Mastering Test Automation: How To Use Selenium Successfully
 
An Introduction of Big data; Big data for beginners; Overview of Big Data; Bi...
An Introduction of Big data; Big data for beginners; Overview of Big Data; Bi...An Introduction of Big data; Big data for beginners; Overview of Big Data; Bi...
An Introduction of Big data; Big data for beginners; Overview of Big Data; Bi...
 
SpringPeople - Introduction to Cloud Computing
SpringPeople - Introduction to Cloud ComputingSpringPeople - Introduction to Cloud Computing
SpringPeople - Introduction to Cloud Computing
 
SpringPeople - Devops skills - Do you have what it takes?
SpringPeople - Devops skills - Do you have what it takes?SpringPeople - Devops skills - Do you have what it takes?
SpringPeople - Devops skills - Do you have what it takes?
 
Elastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & KibanaElastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & Kibana
 
Hadoop data access layer v4.0
Hadoop data access layer v4.0Hadoop data access layer v4.0
Hadoop data access layer v4.0
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

SpringPeople Introduction to JAVA Web Services

  • 1. © SpringPeople Software Private Limited, All Rights Reserved.© SpringPeople Software Private Limited, All Rights Reserved. Introduction to JAVA Web Services
  • 2. © SpringPeople Software Private Limited, All Rights Reserved. What are Web Services? • Web Services are used to build interoperable distributed services across different platform. – The client and server can be developed on different platforms and in different languages, yet they can exchange requests and responses. – For example, a Java client can consume a .NET based service and vice- versa • Legacy or new systems can be integrated rather easily by exposing them as web services. – A better ROI from every system can be achieved.
  • 3. © SpringPeople Software Private Limited, All Rights Reserved. Typical Distributed Architecture
  • 4. © SpringPeople Software Private Limited, All Rights Reserved. Distributed Architecture Examples • Java Platform – RMI (Remote Method Invocation), EJB (Enterprise Java Beans), CORBA, now not so famous • @Remote interface as the interface • @SessionBean as implementation • JNDI Directory as the registry • JBoss as the service container & publisher • InitialContext.lookup() for fetching proxy on the client side • COM/DCOM on Microsoft platform
  • 5. © SpringPeople Software Private Limited, All Rights Reserved. Major Shortcomings of Distributed System •Both client and server must be on the same platform Clients on other platforms can not utilize the services Changes in server-side environment affect all the clients •Client must have server side API for interaction Client can not be developed unless the API is distributed Often the API may be priced, poorly documented and etc., •The protocol between client and server is also platform specific and often proprietary Client that wants to connect to several remote objects have to implement all the specified protocols
  • 6. © SpringPeople Software Private Limited, All Rights Reserved. Web Service Architecture Solution
  • 7. © SpringPeople Software Private Limited, All Rights Reserved. Web Services Standards • Web Services are build on three foundation standards – Web Service Definition Language (WSDL): An XML based IDL to describe the service definitions in a language agnostic way – Service Oriented Architecture Protocol (SOAP): An XML based PDU for communication between the clients and services – Universal Description Discovery and Integration (UDDI): An XML based registry for service publication and discovery • Bodies like OASIS proposed and publicized other standards as well – Standards like WS-Address, WS-Security, WS-Authentication and etc., are built on top of foundation standards
  • 8. © SpringPeople Software Private Limited, All Rights Reserved. Web Service Definition Language (WSDL) What is WSDL? • Its an IDL for describing a web service interface. • The service is meant for the clients of any platform. • Its XML based. Who develops them? • WSDL is hand-written in Contract-First Approach • WSDL is generated in Contract-Last Approach
  • 9. © SpringPeople Software Private Limited, All Rights Reserved. What WSDL consists of? An abstract section • Types: Describes the XML types & elements that are used in the messages to/from the web services. • Messages: Describes the input, output and fault messages that comes into and goes out of web service operations. • PortType: Names the web service and describes the operations offered by the web service A concrete section • Bindings: Describes the transport protocol like HTTP to carry the SOAP envelope for communicating with web service. • Service: Describes the endpoint where the service is really available for consumption
  • 10. © SpringPeople Software Private Limited, All Rights Reserved. SOAP/XML What is SOAP? • It stands for Service Oriented Architecture Protocol in the SOA/Web Services combination. – It originally stood for Simple Object Access Protocol when web services were merely meant for lightweight RPC calls. What is its job? • It carries the payload for request/response between the client and the server. – Obviously its an XML document (JSON is also supported)
  • 11. © SpringPeople Software Private Limited, All Rights Reserved. Who writes and consumes SOAP/XML? • Web Service clients/servers dynamically prepares and consumes the SOAP envelopes
  • 12. © SpringPeople Software Private Limited, All Rights Reserved. Who carries SOAP and what it consist of? • HTTP or protocol (as specified in WSDL) carries it • It consists of optional Header and mandatory Body
  • 13. © SpringPeople Software Private Limited, All Rights Reserved. Web Services v/s SOA •Web Services is one of the technologies to implement Service Oriented Architectures (SOA) However, Web Services predates SOA. Primary intention of web services was to make RPC calls, later it became a technology of choice for SOA implementation •Clients can be developed as an orchestration of services from various endpoints that confirms to SOA Business processes can be delivered in accordance with Software As A Service (SAAS) paradigm. Services needs not be installed at client site, they are just consumed.
  • 14. © SpringPeople Software Private Limited, All Rights Reserved. Become a Web Services Expert In 3 Days Flat Attend the 3-Days “Web Services Workshop” View Complete Details
  • 15. © SpringPeople Software Private Limited, All Rights Reserved. Who will benefit? Developers and Programmers, who wish to build interoperable distributed services across different platform. View Complete Details
  • 16. © SpringPeople Software Private Limited, All Rights Reserved. Q & A training@springpeople.com +91 80 65679700 www.springpeople.com A SpringSource Certified Partner and VMware Authorized Training Center