1 / 37

Web Services The Next Generation of Web ขยายโอกาสและสร้างพันธมิตรทางธุรกิจด้วยเว็บเซอร์วิส

Web Services The Next Generation of Web ขยายโอกาสและสร้างพันธมิตรทางธุรกิจด้วยเว็บเซอร์วิส. สนับสนุน Power Point โดย ผศ. ดร. สมนึก คีรีโต. Topics. Web Services How Web Services work? Benefit of Web Services to B2B, G2G and G2B e-Commerce Application-to-Application (A2A) Integration

Download Presentation

Web Services The Next Generation of Web ขยายโอกาสและสร้างพันธมิตรทางธุรกิจด้วยเว็บเซอร์วิส

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web ServicesThe Next Generation of Webขยายโอกาสและสร้างพันธมิตรทางธุรกิจด้วยเว็บเซอร์วิส สนับสนุน Power Point โดย ผศ. ดร. สมนึก คีรีโต

  2. Topics • Web Services • How Web Services work? • Benefit of Web Servicesto B2B, G2G and G2B e-Commerce • Application-to-Application (A2A) Integration • Direction and trend of Web Services

  3. Interop problems Interoperability: ability to work among sysytems • Different communication protocols • Different platforms Operating Systems • Different programming languages • Non-automated coordination

  4. Before becoming Web Services • Technology drive from Distributed Processing • RPC (Remote Procedure Call) • RMI (Remote Method Invocation) • DCOM (Distributed Component Object Model) • CORBA (Common Object Request Broker Architecture) • J2EE (Java 2 Platform, Enterprise Edition) • Difficulty in using and protocol • Popularity of Internet/WWW • Drive from adoption of XML standard

  5. Evolution of Web

  6. Evolution of Web ยุคที่ 3Web Services: A2Apublish, request & response services (sw components) ยุคที่ 2Dynamic Web: HTML + Database ยุคที่ 1 Static Web: HTML publish, request & response HTML files

  7. What is Web Services • Next generation of “Web applications” • Standard to provide ability to publish “services” or“Software components”and other web applicationssuch that SW Components can discover other SW components and conduct business transactions. • Application-to-Application Interoperability (through the webs)

  8. A2A Interoperability* Example of a scenario with fullInteroperability (not yet exist) • When “Bob”wants to make an appointment with a doctor through web, the system checks the doctor’s and Bob’s available times and then schedules both the doctor’s and Bob’s calendars. • On the appointment day, the doctor wants to postpone the appointment to later time, the new appointment time will be automatically send to Bob’s mobile phone • Before meeting with the doctor, the system will connect to Bob’s health insurance company to check the Bob’s coverage contract. • When the doctor prescribesmedicines for Bob, the system will automatically send information to the drug store for processing and update stock

  9. C2WA2W2W2A Integration Application Server Database Server Legacy Systems Web Server อินเทอร์เน็ต Web Server Web Server Single Point of Services ผู้ใช้ ใช้บราวเซอร์ และเข้าสู่บริการจาก เว็ปไซต์เดียว หรือ One Stop Service แต่ได้รับบริการมาจากหลายที่ Application Server Database Server

  10. MotivationApplications-to-Applications Integration • การเชื่อมโยงระบบสารสนเทศภายในองค์กรEnterprise Application Integration(EAI) • การเชื่อมโยงระบบสารสนเทศที่มีความหลากหลายภายในองค์กร • ระบบรัฐบาลอิเล็กทรอนิกส์ e-Government • ระบบการให้บริการประชาชนจากจุดเดียว e-Citizen (G2G2C) • ระบบการจัดซื้อจัดจ้างทางอิเล็กทรอนิกส์ (G2B e-Procurement) • ระบบธุรกิจผ่านสื่ออิเล็กทรอนิกส์ e-Business • การเชื่อมโยงระบบสารสนเทศของบริษัทผู้ซื้อ กับ บริษัทผู้ขาย • B2B e-Marketplace • e-Supply Chain Management

  11. Interoperability • Data Interoperability + Process Interoperability • ขีดความสามารถในการทำงานข้ามระบบได้ โดยใช้มาตรฐานกลางทางเทคนิคที่ทำให้เกิดการแลกเปลี่ยน ข้อมูล และ เรียกใช้งาน โปรแกรม ข้ามระบบที่มีความแตกต่างกันทั้ง ฮาร์ดแวร์ และ ซอฟต์แวร์

  12. แนวทางของ Web Services • For data interoperability: XML • For process interoperability: SOAP • For services publication & discovery: UDDI • Web services description language: WSDL • Web Services Flow Language: WSFL • e-Business XML/Next Generation EDI: ebXML

  13. Service-Oriented Architecture (SOA)

  14. XML – eXtensible Markup Language • Markup Language ที่ผู้ใช้สามารถกำหนด tagsที่ใช่สื่อความหมายของเนื้อหา และ กำหนดโครงสร้างของเอกสาร • ข้อมูลที่มีโครงสร้างนี้จะถูกนำไปประมวลผลต่ออย่างอัตโนมัติได้ง่าย

  15. ตัวอย่าง XML Purchase Order ระบบสารสนเทศ ของ บริษัทผู้ซื้อ ต้องการเชื่อมโยงกับ ระบบสารสนเทศ ของ บริษัทผู้ขาย เช่น ระบบข้อมูลสต็อก

  16. SOAP • Simple Object Access Protocol • A Distributed Objects technology standard • Send data via Internet/Web in form of XML • Easy to use with Request/Response HTTP Protocol

  17. SOAP Services • SOAP – an XML-based protocol for calling program in HTTP/Web Server • Remote Procedure Call via Web • program (Software Components) calling across systems • Web Consortium (W3C) Support

  18. SOAP Architecture

  19. ตัวอย่าง SOAP Request สั่งซื้อสินค้า POST /Order HTTP/1.1 Host: www.northwindtraders.com Content-Type: text/xml Content-Length: nnnn SOAPAction: "urn:northwindtraders.com:PO#UpdatePO" <SOAP-ENV:Envelope    xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope"   xsi:schemaLocation=    "http://www.northwindtraders.com/schemas/NPOSchema.xsd">   <SOAP-ENV:Header xsi:type="Transaction">     <transactionID mustUnderstand="1">       10000000     </transactionID>   </SOAP-ENV:Header>   <SOAP-ENV:Body xsi:type="NorthwindBody">    <UpdatePO>       <orderID>0</orderID>       <customerNumber>999</customerNumber>       <item>89</item>       <quantity>3000</quantity>       <return>0</return>      </UpdatePO>    </SOAP-ENV:Body> </SOAP-ENV:Envelope>

  20. Government Data Exchange (GDX) SOAP Application SOAP HTTP / HTTPS SOAP SOAP Gateway HTTP / HTTPS Web browser HTML HTTP / HTTPS Servlet Legacy Data GDI Data Application Gateway Center Server ตัวอย่างโครงการ e-Government Data Exchange Web Services ขั้นพื้นฐาน = XML + SOAP

  21. Government Data Infrastructure

  22. Online Exchange Phone Banking Inventory Website Credit Oracle Suppliers People Soft Mortgage Branches DB2 CRM Auto Loans B2B Integration Business-to-Business B2B Spending: At least $26 Billion in 2000 B2B allows interoperability beyond the firewall, between a small number of internal enterprise applications and a small number of external applications and companies (e.g. online exchanges).

  23. Web Services Web Services Spending: $25 Million in 2000$250 Million in 2001$5 billion in 2004 Industry State: Young Online Exchange Credit Card Co. On-Premise Locations Web services allows anything-to-anything interoperability between both internal and external systems. Affiliate Banks Mortgage Brokers Phone Banking Inventory Self-Service Applications Website Credit Oracle Suppliers Partners Mortgage People Soft Branches DB2 (CheckFree) Credit Agencies CRM Auto Loans Government Any-thing-to-Anything Web Services Integration

  24. ตัวอย่างการประยุกต์ Web Services

  25. The Standards

  26. The Big Picture

  27. UDDI คือ อะไร • UDDIย่อมาจาก Universal Description, Discovery and Integration • นำเสนอโดยหลายบริษัทเช่น Ariba, Microsoft, IBM, etc. • บอกให้ทราบว่าบริษัทมีผลิตภัณฑ์และบริการอะไรบ้าง • สามารถติดต่อขอดำเนินธุรกิจการค้ากับบริษัทได้โดยอัตโนมัติโดยผ่านทาง Web Services

  28. WSDL คือ อะไร • WSDLย่อมาจาก Web Services Description Language • WSDL คือคู่มือให้กับระบบ เพื่อเรียนรู้วิธีการเรียกใช้งาน Web Services ที่ต้องการ • WSDL เขียนขึ้นตามแบบมาตรฐาน XML

  29. Web Services: Security Issues • เนื่องจากทำงานอยู่บน Internet ซึ่งปัจจุบันมีเทคโนโลยีในการรักษาความปลอดภัยมากมายรองรับอยู่แล้ว • Web Services สามารถวิ่งผ่าน Firewall ได้เนื่องจาก SOAP ถูกส่งโดยผ่านโปรโตคอล HTTP • ระบบรักษาความปลอดภัยตามมาตรฐานของ PKI (Public Key Infrastructure) เช่น MD5 (Message Digest), SSL (Secure Socket Layer) และ PGP (Pretty Good Privacy)

  30. Benefits of Web Services to e-Commerce • พันธมิตรทางการค้าสามารถเกิดขึ้นได้ตลอดเวลา โดยการค้นหาจาก UDDI • การดำเนินธุรกิจการค้าและบริการสามารถเป็นไปได้แบบอัตโนมัติในระดับของ Application to Application (A2A) โดยการแลกเปลี่ยนข้อมูลผ่านทาง Web Services • Web Services สามารถใช้เป็นส่วนหนึ่งในการดำเนินธุรกิจตามเฟรมเวิร์คของ ebXML • ง่ายต่อการนำไปใช้งานเนื่องจากในปัจจุบันมีเครื่องมือมากมายที่ใช้ช่วยเหลือในการพัฒนา Web Services • ลดต้นทุนในการพัฒนาระบบบางอย่างที่ไม่จำเป็นโดยขอบริการจาก Web Services ของพันธมิตรทางการค้า

  31. เครื่องมือที่ใช้ในการพัฒนา Web Services • Web Services เป็นมาตรฐานที่ง่ายต่อการพัฒนาเนื่องจากอยู่ในรูปแบบของข้อมูลตัวอักษร • มีชุดเครื่องมือที่สนับสนุนโดย Microsoft ตามแพลตฟอร์มของ Microsoft .NET Framework • มีชุดเครื่องมือที่สนับสนุนโดย Sun Microsystem ตามแพลตฟอร์มของ Sun ONE (Sun Open Net Environment) • มีชุดเครื่องมือที่สนับสนุนโดย IBM เช่น Web Services Toolkit • เครื่องมืออื่นๆที่สนับสนุน SOAP, XML ทั้งที่เป็น Commercial Product และ Open Source

  32. Web Services today and future • เป็นที่ยอมรับในระดับโลก จากหลายๆหน่วยงานและองค์กร • มีการใช้งานกันอย่างกว้างขวางและถูกใช้เป็นโครงสร้างพื้นฐานสำหรับการประสานงานข้ามระบบ • มีบริการหลากหลายให้เลือกใช้ (สนใจดูตัวอย่างได้จาก xmethods.netและ salcentral.com) • เป็นเครื่องมือสำหรับการดำเนินธุรกิจออนไลน์ อีกหลายอย่างเช่น E-Commerce, E-Business, E-Learning, E-Government, etc. • แนวทางการใช้งานในประเทศไทยเช่น โครงการโครงสร้างพื้นฐานสารสนเทศภาครัฐ (Government Data Infrastructure)

  33. Web Services: Summary • การใช้ Web Services เพื่อทำให้เกิด Interoperability • การใช้ Web Services และ UDDI เพื่อดำเนินธุรกิจการค้า • การรักษาความปลอดภัยของข้อมูลสำหรับ Web Services • ข้อดีและข้อเสียของ Web Services • ประโยชน์ของ Web Services ต่อการพัฒนาประเทศ • ความเป็นไปของ Web Services ในปัจจุบันและอนาคต

  34. Web Services Alliance Web Services Interoperability Organization (WS-I) • IBM, Microsoft, Intel, HP, SAP, BEA Systems, Accenture, etc. Mission • Ensuring interoperability among different vendors Action Plans • To develop Tools for testing software conformance to WS standards: SOAP, WSDL, UDDI • To publish an architectural road map

  35. Resources Web Services • IBM’s Web Services: http://www.alphaworkers.ibm.com/webservices • Microsoft’s Web Services: http://msdn.microsoft.com/webservices • IBM’s Web Services tool kit: http://www.alphaworks.ibm.com/tech/webservicestoolkit SOAP • SOAP specification: http://www.w3.org/TR/SOAP • Apache’s SOAP toolkit: http://xml.apache.org/soap/index.html • Microsoft;s SOAP resources, http://msdn.mircosoft.com//soap UDDI • UDDI Specification: http://www.uddi.org • Microsoft’s UDDI resources: http://msdn.microsoft.com/uddi • IBM’s UDDI resource: http://www.alphaworks.ibm.com/tech/UDDIreg WSDL • WSDL Specification: http://www.w3.org/TR/wsdl

  36. Resources & References • XML Industry: http://xml.coverpages.org • XML Namespaces: http://jclark.com/xml/xmlns.htm • W3C’s Web Distributed Data Exchange: http://www.wddx.org • Microsoft’s .NET: http://www.microsoft.com/net • Cobol Resources: (integrating Cobol into Web-based applications) http://www.cobolreport.com • ebXML: (United Nations Center for Trade Facilitation and e-Business & OASIS) http://www.ebxml.org • News: “High Tech Leader form Web Services Alliance” http://www.commweb.com/article/IWK20020205S0010

  37. Q&A

More Related