SlideShare a Scribd company logo
Web Services Introduction and Testing Prepared by Marine Yegoryan 2008 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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.  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
Web Service Architecture 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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. 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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)  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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. 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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. 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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).  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
Example:  ESRB Rating System  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/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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” 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
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” 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
Create webtest  -  ESRB_WS.webtest  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
Test Cases  12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
Result after run 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
Altova XML, Data Management, and Web service tools 12/04/09  / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com 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
Ad

More Related Content

What's hot (20)

REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
Halil Burak Cetinkaya
 
Soap web service
Soap web serviceSoap web service
Soap web service
NITT, KAMK
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
Neil Ghosh
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
Tessa Mero
 
SOAP-based Web Services
SOAP-based Web ServicesSOAP-based Web Services
SOAP-based Web Services
Katrien Verbert
 
Introduction to the Web API
Introduction to the Web APIIntroduction to the Web API
Introduction to the Web API
Brad Genereaux
 
Web service Introduction
Web service IntroductionWeb service Introduction
Web service Introduction
Madhukar Kumar
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)
Peter R. Egli
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
Amit Baghel
 
Xml parsers
Xml parsersXml parsers
Xml parsers
Manav Prasad
 
J2ee
J2eeJ2ee
J2ee
Prince Soni
 
Introduction to Angularjs
Introduction to AngularjsIntroduction to Angularjs
Introduction to Angularjs
Manish Shekhawat
 
SOAP vs REST
SOAP vs RESTSOAP vs REST
SOAP vs REST
Mário Almeida
 
Soap Vs Rest
Soap Vs RestSoap Vs Rest
Soap Vs Rest
sreekveturi
 
Java J2EE
Java J2EEJava J2EE
Java J2EE
Sandeep Rawat
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
Amit Nirala
 
REST API
REST APIREST API
REST API
Tofazzal Ahmed
 
Web Services
Web ServicesWeb Services
Web Services
Katrien Verbert
 
WSDL
WSDLWSDL
WSDL
Akshay Ballarpure
 
web server
web serverweb server
web server
nava rathna
 

Viewers also liked (7)

Acquisition de trafic : quels leviers utiliser
Acquisition de trafic : quels leviers utiliserAcquisition de trafic : quels leviers utiliser
Acquisition de trafic : quels leviers utiliser
Jonathan Ravallec
 
Facebook, pour quel ROI ?
Facebook, pour quel ROI ?Facebook, pour quel ROI ?
Facebook, pour quel ROI ?
polenumerique33
 
Data modeling : Une obligation ?
Data modeling : Une obligation ?Data modeling : Une obligation ?
Data modeling : Une obligation ?
DataPerformanceSummit
 
Web Services Tutorial
Web Services TutorialWeb Services Tutorial
Web Services Tutorial
Lorna Mitchell
 
EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...
EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...
EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...
EquinoaDigitalAgency
 
Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.
Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.
Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.
Effinity
 
Emailing & Display : les mécaniques de ciblage (trafic et lead).
Emailing & Display : les mécaniques de ciblage (trafic et lead).Emailing & Display : les mécaniques de ciblage (trafic et lead).
Emailing & Display : les mécaniques de ciblage (trafic et lead).
Jonathan Ravallec
 
Acquisition de trafic : quels leviers utiliser
Acquisition de trafic : quels leviers utiliserAcquisition de trafic : quels leviers utiliser
Acquisition de trafic : quels leviers utiliser
Jonathan Ravallec
 
Facebook, pour quel ROI ?
Facebook, pour quel ROI ?Facebook, pour quel ROI ?
Facebook, pour quel ROI ?
polenumerique33
 
EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...
EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...
EQUINOA : Quels leviers mobiliser avec un budget limité ? - E-commerce Paris ...
EquinoaDigitalAgency
 
Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.
Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.
Webinar [B2B] Case study : Générer des leads B2B via Facebook efficacement.
Effinity
 
Emailing & Display : les mécaniques de ciblage (trafic et lead).
Emailing & Display : les mécaniques de ciblage (trafic et lead).Emailing & Display : les mécaniques de ciblage (trafic et lead).
Emailing & Display : les mécaniques de ciblage (trafic et lead).
Jonathan Ravallec
 
Ad

Similar to Web Service Presentation (20)

WebServices Basic Introduction
WebServices Basic IntroductionWebServices Basic Introduction
WebServices Basic Introduction
Shahid Shaik
 
Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServices
Khasim Saheb
 
web services
web servicesweb services
web services
Anand kalla
 
WebServices
WebServicesWebServices
WebServices
Sunil Komarapu
 
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssdsassjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
simplyamrita2011
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
ssuser041880
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
almkjdfhjjfa
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management system
Yesu Raj
 
Xml web services
Xml web servicesXml web services
Xml web services
Raghu nath
 
Net framework
Net frameworkNet framework
Net framework
sumit1503
 
.NET Tutorial
.NET Tutorial.NET Tutorial
.NET Tutorial
mingglelabs
 
soap toolkit
soap toolkitsoap toolkit
soap toolkit
elliando dias
 
Dot net training-navimumbai
Dot net training-navimumbaiDot net training-navimumbai
Dot net training-navimumbai
vibrantuser
 
Top 10 Things in Visual Studio 2008 since 2005
Top 10 Things in Visual Studio 2008 since 2005Top 10 Things in Visual Studio 2008 since 2005
Top 10 Things in Visual Studio 2008 since 2005
ukdpe
 
Automatic answer checker
Automatic answer checkerAutomatic answer checker
Automatic answer checker
Yesu Raj
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologies
ssuser3a47cb
 
WebService-Java
WebService-JavaWebService-Java
WebService-Java
halwal
 
Performance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone PlatformsPerformance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone Platforms
IOSR Journals
 
Web services
Web servicesWeb services
Web services
ishmecse13
 
Beginners introduction to asp.net
Beginners introduction to asp.netBeginners introduction to asp.net
Beginners introduction to asp.net
Naveen Kumar Veligeti
 
WebServices Basic Introduction
WebServices Basic IntroductionWebServices Basic Introduction
WebServices Basic Introduction
Shahid Shaik
 
Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServices
Khasim Saheb
 
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssdsassjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
simplyamrita2011
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management system
Yesu Raj
 
Xml web services
Xml web servicesXml web services
Xml web services
Raghu nath
 
Net framework
Net frameworkNet framework
Net framework
sumit1503
 
Dot net training-navimumbai
Dot net training-navimumbaiDot net training-navimumbai
Dot net training-navimumbai
vibrantuser
 
Top 10 Things in Visual Studio 2008 since 2005
Top 10 Things in Visual Studio 2008 since 2005Top 10 Things in Visual Studio 2008 since 2005
Top 10 Things in Visual Studio 2008 since 2005
ukdpe
 
Automatic answer checker
Automatic answer checkerAutomatic answer checker
Automatic answer checker
Yesu Raj
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologies
ssuser3a47cb
 
WebService-Java
WebService-JavaWebService-Java
WebService-Java
halwal
 
Performance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone PlatformsPerformance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone Platforms
IOSR Journals
 
Ad

Recently uploaded (20)

Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Hands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordDataHands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordData
Lynda Kane
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Hands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordDataHands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordData
Lynda Kane
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 

Web Service Presentation

  • 1. Web Services Introduction and Testing Prepared by Marine Yegoryan 2008 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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. 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 3. Web Service Architecture 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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. 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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) 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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. 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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. 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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). 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 12. Example: ESRB Rating System 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/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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” 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 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” 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 15. Create webtest - ESRB_WS.webtest 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 16. Test Cases 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 17. Result after run 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com
  • 18. Altova XML, Data Management, and Web service tools 12/04/09 / © 2007 Netsoft USA / Proprietary and Confidential / www.netsoft-usa.com 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