16
טטטטט טטט טטטטטטט טטטטט טטט טטטטטטטWeb Services Web Services טטטט טטטט טטטט טטטט[email protected] [email protected]

שרותי רשת אינטרנט Web Services יאיר שיבק [email protected]

Embed Size (px)

Citation preview

Page 1: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

שרותי רשת אינטרנטשרותי רשת אינטרנטWeb ServicesWeb Services

יאיר שיבקיאיר שיבק

[email protected]@wsdl.co.il

Page 2: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

שרותי רשת אינטרנט – תכנית שרותי רשת אינטרנט – תכנית הלימודיםהלימודים שעות שעות1515התפתחות רשת האינטרנט - התפתחות רשת האינטרנט -

שעות שעות2525בניית אתר סטטי - בניית אתר סטטי - עקרונות פיתוח בשפתעקרונות פיתוח בשפת #C# C שעותשעות 85 - 85 - SQL LanguageSQL Language שעותשעות 30 - 30 - - -עקרונות בעקרונות ב XMLXML שעותשעות 30 - 30 - Accessing Data Using ADO.NETAccessing Data Using ADO.NET שעותשעות 20 - 20 - Building Dynamic Web ApplicationBuilding Dynamic Web Application שעותשעות 40 - 40 - מתקדםמתקדם #C# C שעותשעות 40 - 40 - XMLXML SerializationSerialization שעותשעות 15 - 15 - --עקרונות בעקרונות ב SOAP SOAP שעותשעות 20 - 20 - Implementing Xml Web ServicesImplementing Xml Web Services שעותשעות 50 - 50 - שעות שעות8080פרויקט או עבודת גמר - פרויקט או עבודת גמר -

Page 3: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Web ServicesWeb Services

האבולוציה של היישומים המבוזריםהאבולוציה של היישומים המבוזרים

?? Web ServicesWeb Servicesמה זהמה זה

Web ServicesWeb Services - - ארכיטקטורהארכיטקטורה

HTTP, XML, SOAP and WSDLHTTP, XML, SOAP and WSDL

הדגמה: בנית שרותהדגמה: בנית שרות

הדגמה: בנית צרכןהדגמה: בנית צרכן

Web ServicesWeb Services ? ?לאןלאן - -

Page 4: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

האבולוציה של היישומים האבולוציה של היישומים המבוזריםהמבוזרים

RPC Based Architectures (DCOM)RPC Based Architectures (DCOM)Message-Based ArchitecturesMessage-Based ArchitecturesWeb StandardsWeb Standards

Page 5: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Distributed Applications Using Web ServicesDistributed Applications Using Web Services

Common protocols: HTTP and XMLCommon protocols: HTTP and XML

Page 6: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Sample – XML v.s. HTML (1/2)Sample – XML v.s. HTML (1/2)

Page 7: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Sample – XML v.s. HTML (2/2)Sample – XML v.s. HTML (2/2)blueBooks_servicel redBooks_servicelblueBooks_servicel redBooks_servicel

BlueBooks_xmlBlueBooks_xml

Page 8: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Sample – Sample – Win Form client using Web ServicesWin Form client using Web Services

samplesample sample2sample2

Page 9: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

SOAPSOAP Web Services consumers can send and Web Services consumers can send and

receive messages using XML receive messages using XML

WSDLWSDLWeb Services Web Services

Description LanguageDescription Language

WSDLWSDLWeb Services Web Services

Description LanguageDescription Language

Web Services are defined in terms of the Web Services are defined in terms of the formats and ordering of messagesformats and ordering of messages

Built using open Internet protocols Built using open Internet protocols XML & HTTP

?? Web ServicesWeb Services מה זהמה זה

URL-addressable set of functionalityURL-addressable set of functionalityexposed over a networkexposed over a network

OpenOpen Internet Internet Protocols Protocols

Web Web ServiceService

UDDIUDDIUniversal Description, Universal Description, Design, and IntegrationDesign, and Integration

UDDIUDDIUniversal Description, Universal Description, Design, and IntegrationDesign, and Integration

Provide a Directory of Services on the Provide a Directory of Services on the InternetInternet

Page 10: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

ServiceBroker

Publ

ish Find

ServiceConsumer

ServiceProvider Bind

Internet

Web ServicesWeb Services - - ארכיטקטורהארכיטקטורה

Page 11: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

DiscoveryDiscovery

Let me talk to you (SOAP)Let me talk to you (SOAP)

Web Services (In Practice)Web Services (In Practice)

Design-Time or DynamicDesign-Time or Dynamic RuntimeRuntime

http://yourservice.comhttp://yourservice.com

HTML or XML with link to WSDLHTML or XML with link to WSDL

How do we talk? (WSDL)How do we talk? (WSDL)http://yourservice.com/?WSDLhttp://yourservice.com/?WSDL

XML with service descriptionsXML with service descriptions

http://yourservice.com/svc1http://yourservice.com/svc1

XML/SOAP BODYXML/SOAP BODY

Web Web ServiceService

WebWebService Service

ConsumerConsumer

UDDIUDDI

Find a ServiceFind a Servicehttp://www.uddi.orghttp://www.uddi.org

Link to DISCO or WSDL documentLink to DISCO or WSDL document

Page 12: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Web Service Description LanguageWeb Service Description Language

typestypes element elementmessagemessage element element portTypeportType element elementbindingbinding element elementserviceservice element element

Take a look…Take a look…

Page 13: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

הדגמה: בנית שרות הדגמה: בנית שרות הדגמה: בנית צרכןהדגמה: בנית צרכן

Page 14: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Web ServicesWeb Services ? ?לאןלאן - -

SOAPSOAP

HTTP/SMTPHTTP/SMTPXMLXMLTCP/IPTCP/IP

DirectoryDirectory

InspectionInspection

DescriptionDescription

Web Services ModulesWeb Services Modules

Inter-Application ProtocolsInter-Application Protocols

ReferralReferral

RoutingRouting

SecuritySecurity

LicenseLicense

EventingEventing TransactionsTransactions

Reliable MessagingReliable Messaging

The InternetThe Internet

Page 15: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

סיכוםסיכום

האבולוציה של היישומים המבוזריםהאבולוציה של היישומים המבוזרים

?? Web ServicesWeb Servicesמה זהמה זה

Web ServicesWeb Services - - ארכיטקטורהארכיטקטורה

HTTP, XML, SOAP and WSDLHTTP, XML, SOAP and WSDL

הדגמה: בנית שרותהדגמה: בנית שרות

הדגמה: בנית צרכןהדגמה: בנית צרכן

Web ServicesWeb Services ? ?לאןלאן - -

Page 16: שרותי רשת אינטרנט Web Services יאיר שיבק yair@wsdl.co.il

Where To Learn More…Where To Learn More…

http://msdn.microsoft.com/webserviceshttp://msdn.microsoft.com/webservices http://gotdotnet.comhttp://gotdotnet.com http://www.w3c.orghttp://www.w3c.org

Where can you find Web Services…Where can you find Web Services…

http://uddi.microsoft.comhttp://uddi.microsoft.comhttp://xmethods.comhttp://xmethods.com