SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Web Services
BOA
West Region
Cloud – Data Resources Web Apps Cloud Apps
BOA
East Region
Web Services are based on XML.
From UI we cannot understand the difference between web application and web services.

Orbit 2 WSDL1
Travelocity WSDL 2
Web
Web Service Provider 2
Service
Provider 1
|
_ _____________|
|
|
|
|
|
|
Broker
|
Published Published
WSDL 1 WSDL 2
UDDI
UDDI – Registry having who provides what ticket.
|
|
Request and Response (Two way communication)
|
|
|
Web Services Consumer / Client App

www.kayak.com

SOAP – Simple Object access protocol
UDDI – Universal Description Discovery Integration It’s a company.
Orbits and Travelocity developers create WSDL and publish to UDDI. I.e. giving the access
rights for taking the service
Request and Response done using protocol known as SOAP XML based request and SOAP
XML based response.
WSDL – Web Services Definition Language; WSDL constructed using XML and Java by
developer.
Difference between HTTP and SOAP
Special wrappers for transferring web services
data (XML) over the internet.
SOAP messages are not easily blocked by the
firewall.

The whole architecture is called as Service Oriented Architecture
Components of SOA
WSDL
Web Service Provider
Web Service Consumer
UDDI
SOAP Protocol
Example of Web Services
Technology – Web Services
Architecture – SOA
Google Docs
DropBox
XML vs HTML
HTML is presentation language – Static
For transferring data into to web – Dynamic
XML – allows dynamic content to be transferred.
XML allows custom tags but HTML has only pre-defined tags.
WSDL is a xml file with extension .wsdl
WSDL contains
Messages (operations)
Bindings
Service end points –Where actual services are deployed; Server is deployed
Port
E.g.1 MathService – Add and Subtract.
E.g.2 Airline reservation system – operations are getTicketInfogetAirlineDetails etc.
E.g.3 TransferMoney – RegisterTransMoneyServ, TransferWithinBank, TransferOutisdeBank
Questions on Web Services messages
Check the websites of the projects and find the custom messages.
Test cases – 300
100 to 110 for each message
E.g. of BOA transfer money service;
SOAP message structure looks like –
Envelope
Header

Body
Message
Fault

Request
<envelope>
<header></header>
<body>
<message></message>
</body>
</envelope>
Response
<envelope>
<header></header>
<body>
<fault></fault>
</body>
</envelope>
Framework used – Spring
Types of Web Services
1) SOAP based web services. More popular.
2) RESTful Web Services. – Using HTTP protocol.
3) JMS Web Services.
HTTP – Messages – POST GET DELETE and PUT
Representational State Transfer
XML Doc
Well Formed XML Doc - Tags are missing.
Valid XML Doc
XML Schema
XML Schema Doc – Tells the structure of XML document.
Every XML document should confirm to a schema document.
Extension of Schema - .xsd
NOTE First validate the WSDL document using a Schema – Check whether Vaild or not.
You will be provided a schema file provided. Manually or using tools.
XML Namespace
Attribute – Property of element or tag. <price fontcolor=”Blue”>
BOA
<xmlns: TransFunds =”https:BOAfinServTransMoney”>
<CustomerInfo>
<CustID></CustID>
<fromAcct></fromAcct>
</CustomerInfo>
Chase
<xmlns: TransFunds =”https:ChasetransService”>
<CustomerInfo>
<CustNbr></CustNbr>
<fromAcct></fromAcct>
</CustomerInfo>
Xmlns – Meaning of the tags are defined and the XML engine looks to the xmlns so that

Things asked in the interview
What is XML message?
<?xml version=”1.0” encoding=”UTF-8”?>>
Contains elements, nodes and tags
Elements nested inside each other.
Root node and child nodes.
What did you do in SOAP?
Application was following SOAP Architecture
Request and response message – Created lot of test cases based on different scenarios. Then I
created a test suite based on these test cases. Finally I ran this test suite.
Java – How can Idosome coding – Java Collection API –
List – ArrayList, LinkedList and Vector
Sets – TreeSet and Hashset
What is JUnit?
Test unit framework for performing unit tests and automation tests based on the test cases
It has annotations and methods like assert and verify.
What is XML?
Xml has tags and data. It gives structure to the data. It has a container and nodes inside it. The
element contains the corresponding data.
What are the three major role players?
Service provider, Registry, Consumer are three major role players
What are three major operations?
Publish, find and bind are major operations.
Why web services?
Web services are language independent. Interconnecting systems is easy.
Why XML in Web Service?
Advantage of being independent of data position; Due to presence of tags; Positions of nodes can
change within the container.
Where is web service deployed?
Web service is deployed in the web server.
What is SOA?
Service oriented architecture.
Eg. Shopping Portal = get product catalog, get price for product, add to cart, payment gateway;
Create a platform and make the operations/functions independent so that third party vendors can
build their application on top of the base.
Social Websites and Salesforce platform is extensible due to SOA;
What is in the messages?
XML contains tags and data
SOAP contains an envelop, header and body.
WSDL contains data types, messages and service ports.
UDDI = Yellow pages, public information = Common information. Universal business registries.
What is need of Service Oriented Architecture?
If you make interfaces generic. Then third party can add services in the interface – Eg. Shopping
cart. E.g. Secured Paypal gateway, Secured Credit Card gateway;
Testing a web service is as simple as testing a form.
What did you do in Web Services Testing in previous project?
In my previous project where I was handling web services like money transfer between banks;
In this web services, I created test cases for the SOAP Requests and responses by inserting
assertions and then testing them and created test suites and ran them.
Request consists of envelope header body inside message and response consist of header body
fault and message. Included various requests in a test suite and inserted assertions and then ran
them and verified. Payment gateway.
Other concepts o Web Services are = WSDL Service Provider like Paypal and service consumers
lie the client applications and UDDI where the service provider publishes and provides the rights
to access. The communication is done through SOAP protocol.
I used SoapUI Pro 4.5.1
Web services SOAP Notes

Weitere Àhnliche Inhalte

Was ist angesagt?

Web Services
Web ServicesWeb Services
Web ServicesGaurav Tyagi
 
web technologies Unit 5
 web technologies Unit 5 web technologies Unit 5
web technologies Unit 5madhusrinivasan9
 
SOAP, WSDL and UDDI
SOAP, WSDL and UDDISOAP, WSDL and UDDI
SOAP, WSDL and UDDIShahid Shaik
 
Web services for developer
Web services for developerWeb services for developer
Web services for developerRafiq Ahmed
 
Lecture 16 - Web Services
Lecture 16 - Web ServicesLecture 16 - Web Services
Lecture 16 - Web Servicesphanleson
 
WSDL 2.0 and Apache Woden
WSDL 2.0 and Apache WodenWSDL 2.0 and Apache Woden
WSDL 2.0 and Apache WodenSagara Gunathunga
 
ISI Institute E-Services TP 3
ISI Institute E-Services TP 3 ISI Institute E-Services TP 3
ISI Institute E-Services TP 3 Abdessattar Ettaieb
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Peter R. Egli
 
Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technologysanjoysanyal
 
SynapseIndia dotnet web applications development
SynapseIndia  dotnet web applications developmentSynapseIndia  dotnet web applications development
SynapseIndia dotnet web applications developmentSynapseindiappsdevelopment
 
Cloud computing 20 service modelling
Cloud computing 20 service modellingCloud computing 20 service modelling
Cloud computing 20 service modellingVaibhav Khanna
 
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...phanleson
 
Day1 : web service basics
Day1 :  web service basics Day1 :  web service basics
Day1 : web service basics Testing World
 
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.0Aravindharamanan S
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service Safaa Farouk
 

Was ist angesagt? (20)

Web Services
Web ServicesWeb Services
Web Services
 
Web Services
Web ServicesWeb Services
Web Services
 
web technologies Unit 5
 web technologies Unit 5 web technologies Unit 5
web technologies Unit 5
 
Unit 5 WEB TECHNOLOGIES
Unit 5 WEB TECHNOLOGIES Unit 5 WEB TECHNOLOGIES
Unit 5 WEB TECHNOLOGIES
 
SOAP, WSDL and UDDI
SOAP, WSDL and UDDISOAP, WSDL and UDDI
SOAP, WSDL and UDDI
 
Web services for developer
Web services for developerWeb services for developer
Web services for developer
 
Lecture 16 - Web Services
Lecture 16 - Web ServicesLecture 16 - Web Services
Lecture 16 - Web Services
 
WSDL 2.0 and Apache Woden
WSDL 2.0 and Apache WodenWSDL 2.0 and Apache Woden
WSDL 2.0 and Apache Woden
 
ISI Institute E-Services TP 3
ISI Institute E-Services TP 3 ISI Institute E-Services TP 3
ISI Institute E-Services TP 3
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)
 
Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
 
SynapseIndia dotnet web applications development
SynapseIndia  dotnet web applications developmentSynapseIndia  dotnet web applications development
SynapseIndia dotnet web applications development
 
Cloud computing 20 service modelling
Cloud computing 20 service modellingCloud computing 20 service modelling
Cloud computing 20 service modelling
 
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
 
Day1 : web service basics
Day1 :  web service basics Day1 :  web service basics
Day1 : web service basics
 
Mule execution
Mule executionMule execution
Mule execution
 
Web services SOAP
Web services SOAPWeb services SOAP
Web services SOAP
 
Java servlets
Java servletsJava servlets
Java servlets
 
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
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service
 

Ähnlich wie Web services SOAP Notes

Web services and SOA [Modified]
Web services and SOA [Modified]Web services and SOA [Modified]
Web services and SOA [Modified]Subin Sugunan
 
Service Oriented Architecture Updated Luqman
Service Oriented Architecture Updated  LuqmanService Oriented Architecture Updated  Luqman
Service Oriented Architecture Updated Luqmanguesteb791b
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOASubin Sugunan
 
Exposing EJBs As Web Services
Exposing EJBs As Web ServicesExposing EJBs As Web Services
Exposing EJBs As Web ServicesSubin Sugunan
 
Web Services
Web Services Web Services
Web Services Nibha Jain
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaJignesh Aakoliya
 
Web Programming
Web ProgrammingWeb Programming
Web ProgrammingVijayapriyaP1
 
Java web services
Java web servicesJava web services
Java web serviceskumar gaurav
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxssuser403d87
 
Web services Tutorial /Websoles Strategic Digital Solutions
Web services Tutorial /Websoles Strategic Digital SolutionsWeb services Tutorial /Websoles Strategic Digital Solutions
Web services Tutorial /Websoles Strategic Digital SolutionsRatnesh Pandey
 
Best Web services tutorial | Websoles Strategic Digital Solutions
Best Web services tutorial | Websoles Strategic Digital SolutionsBest Web services tutorial | Websoles Strategic Digital Solutions
Best Web services tutorial | Websoles Strategic Digital SolutionsShubham Kumar Singh
 
Detailed information on webservice by websoles
Detailed information on webservice by websolesDetailed information on webservice by websoles
Detailed information on webservice by websolesNAVEEN KUMAR SHARMA
 
Introduction to Web Services
Introduction to Web ServicesIntroduction to Web Services
Introduction to Web Servicesrajeevkuruganti
 
Android chapter16-web-services
Android chapter16-web-servicesAndroid chapter16-web-services
Android chapter16-web-servicesAravindharamanan S
 

Ähnlich wie Web services SOAP Notes (20)

Web services and SOA [Modified]
Web services and SOA [Modified]Web services and SOA [Modified]
Web services and SOA [Modified]
 
Service Oriented Architecture Updated Luqman
Service Oriented Architecture Updated  LuqmanService Oriented Architecture Updated  Luqman
Service Oriented Architecture Updated Luqman
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOA
 
SOA and web services
SOA and web servicesSOA and web services
SOA and web services
 
Web Service Basics and NWS Setup
Web Service  Basics and NWS SetupWeb Service  Basics and NWS Setup
Web Service Basics and NWS Setup
 
Web services overview
Web services overviewWeb services overview
Web services overview
 
Web services
Web servicesWeb services
Web services
 
Xml.ppt
Xml.pptXml.ppt
Xml.ppt
 
Exposing EJBs As Web Services
Exposing EJBs As Web ServicesExposing EJBs As Web Services
Exposing EJBs As Web Services
 
Web Services
Web Services Web Services
Web Services
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company india
 
Web Programming
Web ProgrammingWeb Programming
Web Programming
 
Java web services
Java web servicesJava web services
Java web services
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptx
 
Web services Tutorial /Websoles Strategic Digital Solutions
Web services Tutorial /Websoles Strategic Digital SolutionsWeb services Tutorial /Websoles Strategic Digital Solutions
Web services Tutorial /Websoles Strategic Digital Solutions
 
Web services | Websoles
Web services | WebsolesWeb services | Websoles
Web services | Websoles
 
Best Web services tutorial | Websoles Strategic Digital Solutions
Best Web services tutorial | Websoles Strategic Digital SolutionsBest Web services tutorial | Websoles Strategic Digital Solutions
Best Web services tutorial | Websoles Strategic Digital Solutions
 
Detailed information on webservice by websoles
Detailed information on webservice by websolesDetailed information on webservice by websoles
Detailed information on webservice by websoles
 
Introduction to Web Services
Introduction to Web ServicesIntroduction to Web Services
Introduction to Web Services
 
Android chapter16-web-services
Android chapter16-web-servicesAndroid chapter16-web-services
Android chapter16-web-services
 

Mehr von Sunil Kumar Gunasekaran

Java J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus ChecklistJava J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus ChecklistSunil Kumar Gunasekaran
 
Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)Sunil Kumar Gunasekaran
 
Sql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shotsSql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shotsSunil Kumar Gunasekaran
 
Wells fargo banking system ER Diagram
Wells fargo banking system ER DiagramWells fargo banking system ER Diagram
Wells fargo banking system ER DiagramSunil Kumar Gunasekaran
 
Business Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable SystemBusiness Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable SystemSunil Kumar Gunasekaran
 
Automation Testing Syllabus - Checklist
Automation Testing Syllabus - ChecklistAutomation Testing Syllabus - Checklist
Automation Testing Syllabus - ChecklistSunil Kumar Gunasekaran
 
Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredSunil Kumar Gunasekaran
 
Scrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models OverviewScrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models OverviewSunil Kumar Gunasekaran
 
PERL for QA - Important Commands and applications
PERL for QA - Important Commands and applicationsPERL for QA - Important Commands and applications
PERL for QA - Important Commands and applicationsSunil Kumar Gunasekaran
 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesSunil Kumar Gunasekaran
 
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...Sunil Kumar Gunasekaran
 

Mehr von Sunil Kumar Gunasekaran (20)

CQL - Cassandra commands Notes
CQL - Cassandra commands NotesCQL - Cassandra commands Notes
CQL - Cassandra commands Notes
 
Java J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus ChecklistJava J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus Checklist
 
Amazon search test case document
Amazon search test case documentAmazon search test case document
Amazon search test case document
 
Actual test case document
Actual test case documentActual test case document
Actual test case document
 
Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)
 
Sql reference from w3 schools
Sql reference from w3 schools Sql reference from w3 schools
Sql reference from w3 schools
 
Sql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shotsSql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shots
 
Wells fargo banking system ER Diagram
Wells fargo banking system ER DiagramWells fargo banking system ER Diagram
Wells fargo banking system ER Diagram
 
Business Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable SystemBusiness Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable System
 
Automation Testing Syllabus - Checklist
Automation Testing Syllabus - ChecklistAutomation Testing Syllabus - Checklist
Automation Testing Syllabus - Checklist
 
Unix short
Unix shortUnix short
Unix short
 
Unix made easy
Unix made easyUnix made easy
Unix made easy
 
Test process - Important Concepts
Test process - Important ConceptsTest process - Important Concepts
Test process - Important Concepts
 
Testing http methods using Telnet
Testing http methods using TelnetTesting http methods using Telnet
Testing http methods using Telnet
 
Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts covered
 
Scrum writeup - Agile
Scrum writeup - Agile Scrum writeup - Agile
Scrum writeup - Agile
 
Scrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models OverviewScrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models Overview
 
PERL for QA - Important Commands and applications
PERL for QA - Important Commands and applicationsPERL for QA - Important Commands and applications
PERL for QA - Important Commands and applications
 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examples
 
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
 

KĂŒrzlich hochgeladen

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)lakshayb543
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...
HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...
HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...Nguyen Thanh Tu Collection
 

KĂŒrzlich hochgeladen (20)

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂź Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...
HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...
HỌC TỐT TIáșŸNG ANH 11 THEO CHÆŻÆ NG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáșŸT - Cáșą NĂ...
 

Web services SOAP Notes

  • 1. Web Services BOA West Region Cloud – Data Resources Web Apps Cloud Apps BOA East Region Web Services are based on XML. From UI we cannot understand the difference between web application and web services. Orbit 2 WSDL1 Travelocity WSDL 2 Web Web Service Provider 2 Service Provider 1 | _ _____________| | | | | | | Broker | Published Published WSDL 1 WSDL 2 UDDI UDDI – Registry having who provides what ticket. | | Request and Response (Two way communication) | | | Web Services Consumer / Client App www.kayak.com SOAP – Simple Object access protocol UDDI – Universal Description Discovery Integration It’s a company.
  • 2. Orbits and Travelocity developers create WSDL and publish to UDDI. I.e. giving the access rights for taking the service Request and Response done using protocol known as SOAP XML based request and SOAP XML based response. WSDL – Web Services Definition Language; WSDL constructed using XML and Java by developer. Difference between HTTP and SOAP Special wrappers for transferring web services data (XML) over the internet. SOAP messages are not easily blocked by the firewall. The whole architecture is called as Service Oriented Architecture Components of SOA WSDL Web Service Provider Web Service Consumer UDDI SOAP Protocol Example of Web Services Technology – Web Services Architecture – SOA Google Docs DropBox XML vs HTML HTML is presentation language – Static For transferring data into to web – Dynamic XML – allows dynamic content to be transferred. XML allows custom tags but HTML has only pre-defined tags. WSDL is a xml file with extension .wsdl
  • 3. WSDL contains Messages (operations) Bindings Service end points –Where actual services are deployed; Server is deployed Port E.g.1 MathService – Add and Subtract. E.g.2 Airline reservation system – operations are getTicketInfogetAirlineDetails etc. E.g.3 TransferMoney – RegisterTransMoneyServ, TransferWithinBank, TransferOutisdeBank Questions on Web Services messages Check the websites of the projects and find the custom messages. Test cases – 300 100 to 110 for each message E.g. of BOA transfer money service; SOAP message structure looks like – Envelope Header Body Message Fault Request <envelope> <header></header> <body> <message></message> </body> </envelope>
  • 4. Response <envelope> <header></header> <body> <fault></fault> </body> </envelope> Framework used – Spring Types of Web Services 1) SOAP based web services. More popular. 2) RESTful Web Services. – Using HTTP protocol. 3) JMS Web Services. HTTP – Messages – POST GET DELETE and PUT Representational State Transfer XML Doc Well Formed XML Doc - Tags are missing. Valid XML Doc XML Schema XML Schema Doc – Tells the structure of XML document. Every XML document should confirm to a schema document. Extension of Schema - .xsd NOTE First validate the WSDL document using a Schema – Check whether Vaild or not. You will be provided a schema file provided. Manually or using tools. XML Namespace Attribute – Property of element or tag. <price fontcolor=”Blue”> BOA <xmlns: TransFunds =”https:BOAfinServTransMoney”> <CustomerInfo> <CustID></CustID> <fromAcct></fromAcct> </CustomerInfo>
  • 5. Chase <xmlns: TransFunds =”https:ChasetransService”> <CustomerInfo> <CustNbr></CustNbr> <fromAcct></fromAcct> </CustomerInfo> Xmlns – Meaning of the tags are defined and the XML engine looks to the xmlns so that Things asked in the interview What is XML message? <?xml version=”1.0” encoding=”UTF-8”?>> Contains elements, nodes and tags Elements nested inside each other. Root node and child nodes. What did you do in SOAP? Application was following SOAP Architecture Request and response message – Created lot of test cases based on different scenarios. Then I created a test suite based on these test cases. Finally I ran this test suite. Java – How can Idosome coding – Java Collection API – List – ArrayList, LinkedList and Vector Sets – TreeSet and Hashset What is JUnit? Test unit framework for performing unit tests and automation tests based on the test cases It has annotations and methods like assert and verify. What is XML? Xml has tags and data. It gives structure to the data. It has a container and nodes inside it. The element contains the corresponding data. What are the three major role players? Service provider, Registry, Consumer are three major role players What are three major operations? Publish, find and bind are major operations.
  • 6. Why web services? Web services are language independent. Interconnecting systems is easy. Why XML in Web Service? Advantage of being independent of data position; Due to presence of tags; Positions of nodes can change within the container. Where is web service deployed? Web service is deployed in the web server. What is SOA? Service oriented architecture. Eg. Shopping Portal = get product catalog, get price for product, add to cart, payment gateway; Create a platform and make the operations/functions independent so that third party vendors can build their application on top of the base. Social Websites and Salesforce platform is extensible due to SOA; What is in the messages? XML contains tags and data SOAP contains an envelop, header and body. WSDL contains data types, messages and service ports. UDDI = Yellow pages, public information = Common information. Universal business registries. What is need of Service Oriented Architecture? If you make interfaces generic. Then third party can add services in the interface – Eg. Shopping cart. E.g. Secured Paypal gateway, Secured Credit Card gateway; Testing a web service is as simple as testing a form. What did you do in Web Services Testing in previous project? In my previous project where I was handling web services like money transfer between banks; In this web services, I created test cases for the SOAP Requests and responses by inserting assertions and then testing them and created test suites and ran them. Request consists of envelope header body inside message and response consist of header body fault and message. Included various requests in a test suite and inserted assertions and then ran them and verified. Payment gateway. Other concepts o Web Services are = WSDL Service Provider like Paypal and service consumers lie the client applications and UDDI where the service provider publishes and provides the rights to access. The communication is done through SOAP protocol. I used SoapUI Pro 4.5.1