Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 58 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
58
Dung lượng
1,08 MB
Nội dung
WEB WEB SERVICES SERVICES Giảng viên: Phạm Trần Vũ Nhóm trình bày: Vũ Văn An Mã Trường Chu Bùi Thị Dự Lê Thị Kim Tuyến Trần Thị Cẩm Tú Outline I SOA II Introduction to Web Service III Web Service’s Architecture SOAP WSDL UDDI IV References V Demo VI Q&A 2 SOA - WHAT IS IT? SOA stands for Service Oriented Architecture SOA is a mechanism that enables organizations to facilitate communication between the systems running on multiple platforms SOA is a collection of well-defined services, each individual service can be modified independently of other services to help respond to the ever-evolving market conditions of a business SOA presents the big picture of what you can with web services 3 SOA - WHY USE IT? Using SOA can: • Enhance business agility • Synchronize IT with your business • Break the barriers between business units and business partners • Lower the cost of maintaining IT systems • Focus your resources on innovation rather than maintenance • Speed delivery of web services to meet business demands • Provide support for IT process automation • Protect IT investments by building on your existing infrastructure 4 SOA - ADVANTAGES Business benefits: Focus on Business Domain solutions Leverage Existing Infrastructure Agility Technical Benefits Loose Coupling Autonomous Service Location Transparency Late Binding 5 SOA – DISAVANTAGE & APPLICABILITY • Service Oriented Architecture may not always be the best architectural choice because optimal utilization of SOA requires additional development and design attempts as well as infrastructure which translates into costs escalation 6 SOA - Roles • Service Provider – Provides a stateless, location transparent business service Service Registry • Service Registry – Allows service consumers to locate service providers that meet required criteria Service Consumer Service Provider • Service Consumer – Uses service providers to complete business processes 7 SOA - OPERATIONS Publish: To be accessible, service description must be published so that it can be discovered and invoked by a service consumer Find: A service requestor locates a service by querying the service registry for a service that meets its criteria Bind and invoke: After retrieving the service description, the service consumer proceeds to invoke the service according to the information in the service description 8 SOA - ELEMENTS 9 SOA - An example • Storage Service – Storing and retrieving data – Reserving space, monitoring status of storage service – Querying and defining the policies that govern who is allowed access the service • Data Transfer Service – Provide operations for requesting the transfer of data from one storage service to another – Managing and monitoring such transfers – Querying and defining policies that govern how difference transfer requests are prioritized • Troubleshooting Service 10 10 Bindings • Define the mechanism that the client will actually use to interact with the web service • Provide concrete information on what protocol is being used • The most common choice is currently SOAP 44 Services • The service element defines the address for invoking the specified service • Most commonly, this includes a URL for invoking the SOAP service WSDL File for HelloService 45 Editors How you write WSDL files? • By hand: some editors have special support for WSDL ! • Automatic generation 46 WEB WEB SERVICE’S SERVICE’S ARCHITECTURE ARCHITECTURE UDDI Universal Description, Discovery and Integration 47 Introduction to UDDI • Universal description discovery and integration(UDDI) is special directory services which is implemented to use for indexing all the available services, a company offer • UDDI - an XML-based standard for describing, publishing, and finding Web services 48 48 Introduction to UDDI • 49 49 Why UDDI ? • At a first glane appears extremely simple • Nonetheless, it include some subtle points that are easily overlooked • Let’s therefore begin examining the future impact of UDDI within a specific a industry • Currently, approximately 700 companies in the information technology, electronic component 50 50 Why UDDI ? • Enables a partner to transfer the contents of an electronic shopping cart • Enables a partner to query status on a specific shipment 51 51 UDDI technical overview The UDDI technical architecture consists of three parts: • UDDI data model • UDD API • UDDI cloud services 52 52 UDDI Data Model 53 53 Searching UDDI • When you install Windows Server 2003, it does not install Enterprise UDDI Services by default • Install the Web service on a new or existing Web server 54 54 Publishing to UDDI • In this section, we will walk through the steps involved in publishing a Web service with the UDDI interface • Publish the specifications of the Web service with Enterprise UDDI Services 55 55 UDDI Implementations • A number of UDDI implementations are currently available • Here is a brief synopsis of the main UDDI implementations available – Java – Microsoft COM – Perl 56 56 References • • • • • Web Services Essentials Ethan Cerami ISBN: 0-596-00224-6 www.w3schools.com www.arts-humanities.net/briefingpaper/web_se rvices www.neodynamic.com/ND/FaqsTipsTricks.aspx ?tabid=66&prodid=0&sid=52 Nguyen Ngoc Duy’s Thesis - 2004 [1] 57 57 THANKS THANKS FOR FOR YOUR YOUR ATTENTIONS!!!!!! ATTENTIONS!!!!!! Demo Q&A 58