SlideShare une entreprise Scribd logo
1  sur  18
Web Services
Introduction to Web Services
Today, companies rely on thousands of different software
applications each with their own role to play in running a business.
These different software applications run on a wide range of different
platforms and operating systems, and they are implemented in
different programming languages. As a result, it is very difficult for
different applications to communicate with one another and share
their resources in a coordinated way.
2
Web Service Architecture
3
What are Web Services?
 Web services are application components
 Web services communicate using open protocols
 Web services are self-contained and self-describing
 Web services can be used by other applications
 XML is the basis for Web services
4
Why Web Services?
Interoperability has highest priority.
 When all major platforms could access the Web using Web browsers, different platforms
could interact. For these platforms to work together, Web applications were developed.
 Web applications are simple applications run on the web. These are built around the
Web browser standards and can mostly be used by any browser on any platform.
Web services take Web applications to the next level.
 Using Web services your application can publish its function or message to the rest of
the world.
 Web services uses XML to code and decode your data and SOAP to transport it using
open protocols.
Web services have two types of uses.
 Reusable application components. Ideally, there will only be one type of each
application component, and anyone can use it in their application.
Connect existing software
 Web services help solve the interoperability problem by giving different applications a
way to link their data.
 Using Web services you can exchange data between different applications and different
platforms.
5
The base of WS
◦ The basic Web services platform is XML + HTTP.
◦ The HTTP protocol is the most used Internet protocol.
◦ XML provides a language which can be used between different platforms and
programming languages and still express complex messages and functions.
Web services platform elements
 SOAP (Simple Object Access Protocol)
 WSDL (Web Services Description Language)
6
What is SOAP?
The basic Web services platform is XML
plus HTTP.
 SOAP stands for Simple Object Access Protocol
 SOAP is a communication protocol
 SOAP is for communication between applications
 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 will be developed as a W3C standard
7
What is WSDL?
WSDL is an XML-based language for describing Web services and
how to access them.
 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 not yet a W3C standard
8
How to test a web service?
 As a web service is something that has no user interface, we
can’t interact with it without a special tool. That tool should allow
composing XML requests via its own user interface. Commonly
such user interfaces are text editors where you write your XML
requests and controls for posting requests to the server.
9
How to test a web service?
 Project structure. As in every well-established testing activity, I’ve
started with test specification. The main part of a test specification is
test cases divided into test areas. Visual Studio allows structuring
your test project into test suites (the same as test areas in my test
specification) that contain test cases, which can contain test steps,
you can add, modify, delete and change order of every item in the
structure.
 Test cases. Visual Sdudio provides enough convenient tools to
manage and run your test cases, and view result in test requests.
 Load Testing. You can perform Load Testing.
10
How to test a web service?
 Automation. But what if your web service contains too many
methods with too many input and output parameters? It may take
several days for each complete test of your web service if your tool
does not provide functionality to automate your testing. You can
automate validation of your web service’s response against you
input. You can automate the output of validation results into a file
(which could be just a text file of HTML depending on your choice).
11
Search Widget. Project
Description
 ESRB requires functionality to query their database to generate
search results for a third party web widget.
 Netsoft shall be responsible for the developing a web service to
generate result sets in response to queries from the Clear Spring
widget. The widget shall make requests for rated games by
specifying a keyword. The work performed by Netsoft USA shall
encompass the following items:
• Define the interface for the calls to be made by the widget
• Define the result set format (XML) to be provided in response to widget calls
• Provide a mechanism by which the number of results returned can be attenuated
(limit the number of rows)
12
Scope
 URL (subject to change)
http://esrb.org/SearchWidget/services/Search?wsdl (no https
requested)
 Parameters
◦ searchKeyword
 Text to search
◦ maxResultCount
 Maximum number of records to return (e.g. 50 records)
◦ user (subject to change)
 “ESRB_test”
◦ pass (subject to change)
 “ESRB_test”
13
Scope
 Return fields
◦ Certificate
 Game certificate number (5 digits)
◦ Title
 Game title (like ‘%[search text]%’ search condition against the
game title and sorted by Rating Release Date)
◦ Rating
 Game rating (short text format), e.g. “E,” “E10+,” “T,” etc.
◦ Platforms
 Comma delimited list of platforms, e.g. “Xbox, Xbox 360,
Playstation 3”
◦ Descriptors
 Comma delimited list of content descriptors, e.g. “Blood and
Gore, Strong Language, Violence”
14
ESRB_WS.webtest
15
Test Cases
16
Result after run
17
Altova XML, Data Management,
and Web service tools
18
The Altova MissionKit is an integrated suite of XML, database tools
designed to meet the diverse development and data management
needs of today’s software architects and XML developers.
XMLSpy® 2009 is the industry's best selling XML development
environment. It offers the top XML editor, schema designer, code
generator, file converters, debuggers, profilers, support for XSLT,
XQuery, Office 2007/OOXML, XBRL, WSDL, SOAP, Visual Studio,
Eclipse, & more.
Link of a Flash demo of the SOAP client and SOAP debugger.
http://www.altova.com/videos.asp?type=1&video=soap

Contenu connexe

Tendances

Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentationguest0df6b0
 
SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolMasud Rahman
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETPonraj
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Peter R. Egli
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
Introduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web ServicesIntroduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web Servicesecosio GmbH
 
Web services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGigWeb services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGigMandakini Kumari
 
Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServicesKhasim Saheb
 
webservices overview
webservices overviewwebservices overview
webservices overviewelliando dias
 
SOAP, UDDI, WSDL. XML definitions
SOAP, UDDI, WSDL. XML definitions SOAP, UDDI, WSDL. XML definitions
SOAP, UDDI, WSDL. XML definitions Wish Mrt'xa
 

Tendances (20)

Web service
Web serviceWeb service
Web service
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
 
SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access Protocol
 
Webservice Testing
Webservice TestingWebservice Testing
Webservice Testing
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NET
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)
 
SOAP-based Web Services
SOAP-based Web ServicesSOAP-based Web Services
SOAP-based Web Services
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
Web services
Web servicesWeb services
Web services
 
Web service architecture
Web service architectureWeb service architecture
Web service architecture
 
Web Services
Web ServicesWeb Services
Web Services
 
Introduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web ServicesIntroduction to SOAP/WSDL Web Services and RESTful Web Services
Introduction to SOAP/WSDL Web Services and RESTful Web Services
 
Overview of java web services
Overview of java web servicesOverview of java web services
Overview of java web services
 
Web services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGigWeb services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGig
 
Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServices
 
Soap vs rest
Soap vs restSoap vs rest
Soap vs rest
 
webservices overview
webservices overviewwebservices overview
webservices overview
 
SOAP, UDDI, WSDL. XML definitions
SOAP, UDDI, WSDL. XML definitions SOAP, UDDI, WSDL. XML definitions
SOAP, UDDI, WSDL. XML definitions
 
Web Services Tutorial
Web Services TutorialWeb Services Tutorial
Web Services Tutorial
 
Simple object access protocol(soap )
Simple object access protocol(soap )Simple object access protocol(soap )
Simple object access protocol(soap )
 

En vedette

Webservices Workshop - september 2014
Webservices Workshop -  september 2014Webservices Workshop -  september 2014
Webservices Workshop - september 2014clairvoyantllc
 
Android - Consumindo Webservices
Android - Consumindo WebservicesAndroid - Consumindo Webservices
Android - Consumindo WebservicesArthur Emanuel
 
Web Service Testing using TestComplete
Web Service Testing using TestCompleteWeb Service Testing using TestComplete
Web Service Testing using TestCompletesrivinayak
 
Testing web services
Testing web servicesTesting web services
Testing web servicesTaras Lytvyn
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTPradeep Kumar
 

En vedette (8)

Webservices Workshop - september 2014
Webservices Workshop -  september 2014Webservices Workshop -  september 2014
Webservices Workshop - september 2014
 
Webservices
WebservicesWebservices
Webservices
 
Android - Consumindo Webservices
Android - Consumindo WebservicesAndroid - Consumindo Webservices
Android - Consumindo Webservices
 
Web Service Testing using TestComplete
Web Service Testing using TestCompleteWeb Service Testing using TestComplete
Web Service Testing using TestComplete
 
Webservices
WebservicesWebservices
Webservices
 
WebServices
WebServicesWebServices
WebServices
 
Testing web services
Testing web servicesTesting web services
Testing web services
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and REST
 

Similaire à WebServices Basic Introduction

Dot net training-navimumbai
Dot net training-navimumbaiDot net training-navimumbai
Dot net training-navimumbaivibrantuser
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management systemYesu Raj
 
Web service implementation
Web service implementationWeb service implementation
Web service implementationYatindra Sahu
 
Automatic answer checker
Automatic answer checkerAutomatic answer checker
Automatic answer checkerYesu Raj
 
Bt0078 website design
Bt0078 website design Bt0078 website design
Bt0078 website design Techglyphs
 
Xml web services
Xml web servicesXml web services
Xml web servicesRaghu nath
 
Net framework
Net frameworkNet framework
Net frameworksumit1503
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologiesssuser3a47cb
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and developmentishmecse13
 
WebServices using Soap
WebServices using SoapWebServices using Soap
WebServices using SoapMohammed625
 
SoapUi using WebServices
SoapUi using WebServicesSoapUi using WebServices
SoapUi using WebServicesAbdulImrankhan7
 
WebServices using Soapui
WebServices using SoapuiWebServices using Soapui
WebServices using Soapuijaveed_mhd
 

Similaire à WebServices Basic Introduction (20)

web services
web servicesweb services
web services
 
.NET Tutorial
.NET Tutorial.NET Tutorial
.NET Tutorial
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
 
soap toolkit
soap toolkitsoap toolkit
soap toolkit
 
Dot net training-navimumbai
Dot net training-navimumbaiDot net training-navimumbai
Dot net training-navimumbai
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management system
 
Web service implementation
Web service implementationWeb service implementation
Web service implementation
 
Automatic answer checker
Automatic answer checkerAutomatic answer checker
Automatic answer checker
 
Web services
Web servicesWeb services
Web services
 
Bt0078 website design
Bt0078 website design Bt0078 website design
Bt0078 website design
 
Xml web services
Xml web servicesXml web services
Xml web services
 
Wt unit 6 ppts web services
Wt unit 6 ppts web servicesWt unit 6 ppts web services
Wt unit 6 ppts web services
 
Net framework
Net frameworkNet framework
Net framework
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologies
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
 
WebServices using Soap
WebServices using SoapWebServices using Soap
WebServices using Soap
 
SoapUi using WebServices
SoapUi using WebServicesSoapUi using WebServices
SoapUi using WebServices
 
WebServices using Soapui
WebServices using SoapuiWebServices using Soapui
WebServices using Soapui
 
Service view
Service viewService view
Service view
 

Plus de Shahid Shaik

Plus de Shahid Shaik (14)

Jenkins2
Jenkins2Jenkins2
Jenkins2
 
Jenkins
JenkinsJenkins
Jenkins
 
Webservice vm in mule
Webservice vm in muleWebservice vm in mule
Webservice vm in mule
 
Mule Webservices
Mule WebservicesMule Webservices
Mule Webservices
 
SOAP, WSDL and UDDI
SOAP, WSDL and UDDISOAP, WSDL and UDDI
SOAP, WSDL and UDDI
 
Java useful in Mule
Java useful in MuleJava useful in Mule
Java useful in Mule
 
Maven introduction in Mule
Maven introduction in MuleMaven introduction in Mule
Maven introduction in Mule
 
WSDL Services
WSDL ServicesWSDL Services
WSDL Services
 
UDDI Services
UDDI ServicesUDDI Services
UDDI Services
 
SOAP Services
SOAP ServicesSOAP Services
SOAP Services
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
 
Xslt in mule
Xslt in muleXslt in mule
Xslt in mule
 
Testing soapui
Testing soapuiTesting soapui
Testing soapui
 
Java in Mule
Java in MuleJava in Mule
Java in Mule
 

Dernier

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Dernier (20)

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

WebServices Basic Introduction

  • 2. Introduction to Web Services Today, companies rely on thousands of different software applications each with their own role to play in running a business. These different software applications run on a wide range of different platforms and operating systems, and they are implemented in different programming languages. As a result, it is very difficult for different applications to communicate with one another and share their resources in a coordinated way. 2
  • 4. What are Web Services?  Web services are application components  Web services communicate using open protocols  Web services are self-contained and self-describing  Web services can be used by other applications  XML is the basis for Web services 4
  • 5. Why Web Services? Interoperability has highest priority.  When all major platforms could access the Web using Web browsers, different platforms could interact. For these platforms to work together, Web applications were developed.  Web applications are simple applications run on the web. These are built around the Web browser standards and can mostly be used by any browser on any platform. Web services take Web applications to the next level.  Using Web services your application can publish its function or message to the rest of the world.  Web services uses XML to code and decode your data and SOAP to transport it using open protocols. Web services have two types of uses.  Reusable application components. Ideally, there will only be one type of each application component, and anyone can use it in their application. Connect existing software  Web services help solve the interoperability problem by giving different applications a way to link their data.  Using Web services you can exchange data between different applications and different platforms. 5
  • 6. The base of WS ◦ The basic Web services platform is XML + HTTP. ◦ The HTTP protocol is the most used Internet protocol. ◦ XML provides a language which can be used between different platforms and programming languages and still express complex messages and functions. Web services platform elements  SOAP (Simple Object Access Protocol)  WSDL (Web Services Description Language) 6
  • 7. What is SOAP? The basic Web services platform is XML plus HTTP.  SOAP stands for Simple Object Access Protocol  SOAP is a communication protocol  SOAP is for communication between applications  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 will be developed as a W3C standard 7
  • 8. What is WSDL? WSDL is an XML-based language for describing Web services and how to access them.  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 not yet a W3C standard 8
  • 9. How to test a web service?  As a web service is something that has no user interface, we can’t interact with it without a special tool. That tool should allow composing XML requests via its own user interface. Commonly such user interfaces are text editors where you write your XML requests and controls for posting requests to the server. 9
  • 10. How to test a web service?  Project structure. As in every well-established testing activity, I’ve started with test specification. The main part of a test specification is test cases divided into test areas. Visual Studio allows structuring your test project into test suites (the same as test areas in my test specification) that contain test cases, which can contain test steps, you can add, modify, delete and change order of every item in the structure.  Test cases. Visual Sdudio provides enough convenient tools to manage and run your test cases, and view result in test requests.  Load Testing. You can perform Load Testing. 10
  • 11. How to test a web service?  Automation. But what if your web service contains too many methods with too many input and output parameters? It may take several days for each complete test of your web service if your tool does not provide functionality to automate your testing. You can automate validation of your web service’s response against you input. You can automate the output of validation results into a file (which could be just a text file of HTML depending on your choice). 11
  • 12. Search Widget. Project Description  ESRB requires functionality to query their database to generate search results for a third party web widget.  Netsoft shall be responsible for the developing a web service to generate result sets in response to queries from the Clear Spring widget. The widget shall make requests for rated games by specifying a keyword. The work performed by Netsoft USA shall encompass the following items: • Define the interface for the calls to be made by the widget • Define the result set format (XML) to be provided in response to widget calls • Provide a mechanism by which the number of results returned can be attenuated (limit the number of rows) 12
  • 13. Scope  URL (subject to change) http://esrb.org/SearchWidget/services/Search?wsdl (no https requested)  Parameters ◦ searchKeyword  Text to search ◦ maxResultCount  Maximum number of records to return (e.g. 50 records) ◦ user (subject to change)  “ESRB_test” ◦ pass (subject to change)  “ESRB_test” 13
  • 14. Scope  Return fields ◦ Certificate  Game certificate number (5 digits) ◦ Title  Game title (like ‘%[search text]%’ search condition against the game title and sorted by Rating Release Date) ◦ Rating  Game rating (short text format), e.g. “E,” “E10+,” “T,” etc. ◦ Platforms  Comma delimited list of platforms, e.g. “Xbox, Xbox 360, Playstation 3” ◦ Descriptors  Comma delimited list of content descriptors, e.g. “Blood and Gore, Strong Language, Violence” 14
  • 18. Altova XML, Data Management, and Web service tools 18 The Altova MissionKit is an integrated suite of XML, database tools designed to meet the diverse development and data management needs of today’s software architects and XML developers. XMLSpy® 2009 is the industry's best selling XML development environment. It offers the top XML editor, schema designer, code generator, file converters, debuggers, profilers, support for XSLT, XQuery, Office 2007/OOXML, XBRL, WSDL, SOAP, Visual Studio, Eclipse, & more. Link of a Flash demo of the SOAP client and SOAP debugger. http://www.altova.com/videos.asp?type=1&video=soap