Upload
matthew-reeves
View
234
Download
3
Embed Size (px)
DESCRIPTION
web services web service benefits –vendor independent –platform independent –flexible transport –standards based
Citation preview
web services• In this presentation…
– what is a web service?– web service benefits– web service standards– web service definitions– web service actions
web services• what is a web service?
– programmable logic accessed using standard web protocols
– platform independent remote program calls– builds on commonly used standards
web services• web service benefits
– vendor independent– platform independent– flexible transport– standards based
web services• web service standards
– UDDI – Universal Description, Discovery and Integration
– WSDL – Web Services Description Language– SOAP – Simple Object Access Protocol– XML – eXtensible Markup Language– HTTP – Hypertext Transfer Protocol
web services• UDDI
– standard for registering web services– public or private registries– service and WSDL definitions listed
web services• UDDI
– two major public registries• http://uddi.microsoft.com• http://www-3.ibm.com/services/uddi
web services• WSDL
– describes• service name• operations• arguments• return types• custom types• text description• encoding• transport
web services• SOAP
– XML structure for passing requests and replies– Messages for each operation
web services• XML
– meta-language (a language to define other languages)
– human readable (sometimes)– SOAP defines the way XML is used in web services
web services• HTTP
– ubiquitous– firewall friendly– simple– web services can use other transports
web services• centric web services prerequisites
– Microsoft SOAP Toolkit V3.0– Web access
web services• web services actions
– WebDeclare– WebDescription– WebCall
web services• Web Services Description tool
– simple view
web services• Web Services Description tool
– advanced view
web services• WebDescription
– uses WSDL to define a web service– high level and simpler– implementation details derived from WSDL
web services• WebDescription
– Arguments• WSDL• Procedure• Alias
web services• WebDescription
WebDescription(http://www.richsolutions.com/RichPayments/
RichCardValidator.asmx?WSDL, GetCardType, )
web services• WebDeclare
– Low level definition of web service– WSDL not available– Uses structures in arguments or return value
web services• WebDeclare
– Arguments• URL• SoapAction• Procedure• Namespace• Alias• Arguments• Returns
web services• WebDeclare
WebDeclare (http://www.ebob42.com/cgi- bin/Romulan.exe/soap/IRoman,
urn:Roman-IRoman#IntToRoman, IntToRoman,
, Int As Integer, return As String)
web services• WebCall
– execute the web service– must be defined earlier with WebDeclare or
WebDescription– Handles encoding of arguments and response
web services• WebCall
– Arguments• Procedure• Arguments• Returns
– WebCall (GetCardType, fldCardNumber, strCardType)
centric 8 Training
Workshop 3
This page is intentionally left blank.
This page is intentionally left blank.