Upload
prabhat-ray
View
228
Download
0
Embed Size (px)
Citation preview
8/20/2019 Introduction to Soap UI
1/14
1
Introduction to WebServices and Soap UI
Presented By:-Prabhat Ray
9/7/15
8/20/2019 Introduction to Soap UI
2/14
!"enda
What is Web Service#
What are di$erent co%ponent o& Web Services#
!bout Soap UI#
Syste% Re'uire%ents#
Web services testin" too(s#Write your )rst test case in soap UI#
8/20/2019 Introduction to Soap UI
3/14
*
What is +eb services#
Web services are c(ient and server app(icationsthat co%%unicate over the Wor(dWide Web's WWW. yper 0et 0rans&er Protoco(00P.#
Example of Web Services Weather Reportin": Suppose +e +ant to disp(ay the +eather
in&or%ation in our +ebsite then +e can do that usin" a +eatherreportin" Web Service#
Stoc2 3uote: We can disp(ay the (atest update o& the shares %ar2et+ith a stoc2 'uote on our +eb-site#
4e+s-ead(ine: I& +e +ant to disp(ay the (atest ne+s updates in our+eb-site then +e can do this usin" a 4e+s-head(ine Web Service#
urrency conversion: By consu%in" a (ive currency conversion WebService6 +e can convert various currency rates in our app(ication#
8/20/2019 Introduction to Soap UI
4/14
8i$erent o%ponent o& Web Services#
; Ex tensible Markup Language)#
S
or
R>S0 Representational State Transfer .
WS8; Web Service 8escription ;an"ua"e.#
U88I Universa( 8escription 8iscovery andInte"ration.#
8/20/2019 Introduction to Soap UI
5/14
5
What is S
Soap essa"e Structure#
Soap >nve(ope#Soap eader
Soap Body
Soap ?au(t
0/A
8/20/2019 Introduction to Soap UI
6/14
D
What is WS8;#
! WS8; docu%ent describes a +eb service usin" these %a=or
e(e%ents:
tpes :- ! container &or data type de)nitions used by the +ebservice
#essage :- ! typed de)nition o& the data bein" co%%unicated
port$pe :- ! set o& operations supported by one or %ore endpoints
!inding :- ! protoco( and data &or%at speci)cation &or a particu(ar
port ! WS8; docu%ent can a(so contain other e(e%ents6 (i2eetension e(e%ents6 and a service e(e%ent that %a2es it possib(e to"roup to"ether the de)nitions o& severa( +eb services in one sin"(eWS8; docu%ent#
8/20/2019 Introduction to Soap UI
7/14
7
What is WS8;# 0he %ain structure o& a WS8; docu%ent (oo2s (i2e this:
Cde)nitions
Ctypes data type de)nitions########C/types
C%essa"e de)nition o& the data bein" co%%unicated####C/%essa"e
Cport0ype set o& operations######C/port0ype
Cbindin" protoco( and data &or%at speci)cation####C/bindin"
C/de)nitions
8/20/2019 Introduction to Soap UI
8/14
E
What is U88I
Universa( 8escription6 8iscovery and Inte"rationU88I. is a directory service +here businesses canre"ister and search &or Web services#
o+ can U88I be Used
I& the industry pub(ished an U88I standard &or Fi"htrate chec2in" and reservation6 air(ines cou(d re"istertheir services into an U88I directory# 0rave( a"enciescou(d then search the U88I directory to )nd the
air(ineGs reservation inter&ace# When the inter&ace is&ound6 the trave( a"ency can co%%unicate +ith theservice i%%ediate(y because it uses a +e((-de)nedreservation inter&ace#
8/20/2019 Introduction to Soap UI
9/14
9
!bout Soap UI#
?ree and
8/20/2019 Introduction to Soap UI
10/14
1H
Syste% Re'uire%ent#
Windo%s
1J or hi"her *-bit or D-bit processor
51B o& R!
HHB o& hard dis2 space &or insta((ation SoapUIand er%esKS.
Windo+s P or (ater
8/20/2019 Introduction to Soap UI
11/14
11
Web Services 0estin" 0oo(s#
Soap UI#
0esta2er#
WebIn=ect#
Web Service a(( o%poser ?ro% Sty(us Studio#
We can a(so veri&y re'uest and response throu"h?ire&o add on na%e Poster#
8/20/2019 Introduction to Soap UI
12/14
1
Re&erences L Resources
S
WS8;# http://%sdn#%icroso&t#co%/%(/"enera(/+sd(#asp.
Soap UI# +++#soap&i#or".
0esta2er# http://+++#pushtotest#co%/products#ht%(.
WebIn=ect#+++#%ebinect#or".
Web Service a(( o%poser ?ro% Sty(us Studio#
(http://%%%.stl&sst&dio.com/%s)tester.html*
http://%%%.%ebservicex.net/medicareS&pplier.asmx+WS,-
http://www.w3.org/TR/SOAP/http://www.w3.org/TR/SOAP/http://msdn.microsoft.com/xml/general/wsdl.asphttp://msdn.microsoft.com/xml/general/wsdl.asphttp://www.soapui.org/http://www.soapui.org/http://www.soapui.org/http://www.pushtotest.com/products.htmlhttp://www.webinject.org/http://www.webinject.org/http://www.webinject.org/http://www.stylusstudio.com/ws_tester.htmlhttp://www.stylusstudio.com/ws_tester.htmlhttp://www.webinject.org/http://www.webinject.org/http://www.webinject.org/http://www.pushtotest.com/products.htmlhttp://www.soapui.org/http://www.soapui.org/http://www.soapui.org/http://msdn.microsoft.com/xml/general/wsdl.asphttp://msdn.microsoft.com/xml/general/wsdl.asphttp://msdn.microsoft.com/xml/general/wsdl.asphttp://www.w3.org/TR/SOAP/http://www.w3.org/TR/SOAP/http://www.w3.org/TR/SOAP/
8/20/2019 Introduction to Soap UI
13/14
1*
?or Mour In&or%ation#
Mou can )(( your Inco%e ta return usin" be(o+ +ebservice#
https://incometaxindiae)(in"#"ov#in/e-?i(in"WS/dit+s/sub%itI0R#%sdl
?ree Web Services ;ist &or 0estin"#
http://+++#+ebservice#net/+s/de&au(t#asp
https://+++#usaepay#co%/soap/"ate/7!*B17/usaepay#+sd(
https://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdlhttps://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdlhttps://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdlhttps://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdlhttp://www.webservicex.net/ws/default.aspxhttps://www.usaepay.com/soap/gate/74A32B17/usaepay.wsdlhttps://www.usaepay.com/soap/gate/74A32B17/usaepay.wsdlhttps://www.usaepay.com/soap/gate/74A32B17/usaepay.wsdlhttps://www.usaepay.com/soap/gate/74A32B17/usaepay.wsdlhttp://www.webservicex.net/ws/default.aspxhttp://www.webservicex.net/ws/default.aspxhttps://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdlhttps://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdlhttps://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdlhttps://incometaxindiaefiling.gov.in/e-FilingWS/ditws/submitITR.wsdl
8/20/2019 Introduction to Soap UI
14/14
1
0han2 you
Prabhat RayPrabhat#rayNorderdyna%ics#co%