Embed
Email

Business

Document Sample
Business
Shared by: HC11111101635
Categories
Tags
Stats
views:
8
posted:
11/10/2011
language:
English
pages:
36
Web Services

The Next Generation of Web





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







โดย นายชษณุ ประทิพย์เนตร



สนับสนุน Power Point โดย



ผศ. ดร. สมนึก คีรโต

ผู ้ประสานงานโครงการ นวัตกรรมไอที เกษตร-เนคเทค



ผู ้ชวยศาสตราจารย์ ภาควิชาวิศวกรรมคอมพิวเตอร์ ม. เกษตรศาสตร์

ผู ้อานวยการ ศูนย์พัฒนาพาณิชย์อเล็กทรอนิกส ์ เนคเทค









30 April 2002, Computer Center

Web Services: The Next Generation of Web sk 1



เนือหา

 ็

ความเปนมาของ Web Services

 ั

การทางานของ Web Services โดยสงเขป

 ิ่ ่ ็ ้

สงทีจาเปนในการใชงาน Web Services

 ประโยชน์ของ Web Services ต่อการสร้าง

ั้

พ ันธมิตร ทง B2B, G2G และ G2B

 Application-to-Application (A2A) Integration

 ทิศทางของเทคโนโลยี Web Services ใน

ปัจจุบ ันและอนาคต





Web Services: The Next Generation of Web sk 2

ปัญหาการประสานการทางานระหว่างระบบ



 Interoperability คือขีดความสามารถ

ในการทางานระหว่างระบบ

 ่ ้ ื่

ความแตกต่างของโปรโตคอลทีใชในการสอสาร

 ความแตกต่างของแพลตฟอร์ม

Operating Systems

 ความแตกต่างของภาษาโปรแกรมทีใช ้่

ในการพ ัฒนาระบบ

 ้

การประสานงานไม่สามารถเกิดขึนได้แบบอ ัตโนม ัติ









Web Services: The Next Generation of Web sk 3



ก่อนจะมาเปน Web Services

 แรงผล ักด ันจากเทคโนโลยี 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)

 ้

ความยากในการใชงานและความแตกต่างในแต่ละ

โปรโตคอล

 แรงผล ักด ันจากความนิยมของ Internet/WWW

 แรงผล ักด ันจากการยอมร ับในมาตรฐาน XML



Web Services: The Next Generation of Web sk 4

ความง่าย และ วิว ัฒนาการของ Web





ยุคที่ 3

Web Services: A2A

publish, request & response

services (sw components)

ยุคที่ 2

Dynamic Web: HTML + Database



ยุคที่ 1

Static Web: HTML

publish, request & response HTML files



Web Services: The Next Generation of Web sk 5

Web Services คือ อะไร

 ่ั

วิว ัฒนาการก้าวถ ัดไปของ “เว็ ปแอพพลิเคชน”

 ่

มาตรฐานเปิ ดทีทาให้เราสามารถ “ประกาศ”

(Publish) ว่ามี “บริการ” (Services หรือ ก้อน



โปรแกรมทีทางานบริการบางอย่าง - Software

Components) และ

่ั ่ ื

“เว็ ปแอพพลิเคชน” อืนสามารถเข้าไปสบค้น และ



เรียกใชบริการจากก้อนโปรแกรมนนได้ ั้

 SW Components can discover other SW

components and conduct business transactions.

 Application-to-Application Interoperability

(through the webs)



Web Services: The Next Generation of Web sk 6

A2A Interoperability *







ต ัวอย่างเหตุการณ์ ทีม ี Interoperability เต็มรูปแบบ



(ย ังไม่เปนความจริงในปัจจุบ ัน)





 “นาย ก” น ัดหมอผ่านเว็ป ระบบทาการตรวจตารางเวลาว่าง

ของหมอ และ ของคนไข้ แล้วจองเวลาลงในระบบปฏิทนทง ิ ั้

ของคนไข้ และ ของหมอ

 ่ ่ ่

เมือถึงว ันน ัดหมอขอเลือนเวลา ข้อมูลการเลือนเวลา และ

ู ่ ่ ั ื

เวลาน ัดใหม่ถกสงไปทีโทรศพท์มอถือของคนไข้โดย

อ ัตโนม ัติ

 ื่

ก่อนพบหมอ ระบบทาการเชอมโยงไปหาระบบประก ัน

่ ่

สุขภาพเพือขอดูเงือนไขการประก ัน

 ่ ่ั ่ ่ั

เมือหมอสงยา ข้อมูลยา ถูกสงไปดาเนินการสงยาทีรานยา่ ้

ี ี่

และ ต ัดบ ัญชทธนาคารโดยอ ัตโนม ัติ

* ความสามารถในการเรี ยกใช้งานโปรแกรมระหว่างระบบที่มีความแตกต่างกัน

Web Services: The Next Generation of Web sk 7

C2WA2W2W2A Integration

Application Server

Legacy

Database Server Systems









Web Server

อินเทอร์เน็ต

Web Server

Web Server



ผูใช้ ใช้บราวเซอร์ Single Point of Services

และเข้าสู่ บริ การจาก

เว็ปไซต์เดียว หรื อ Application Server

One Stop Service

Database Server

แต่ได้รับบริ การมาจากหลายที่



Web Services: The Next Generation of Web sk 8

แรงจูงใจ Applications-to-Applications Integration

 ื่

การเชอมโยงระบบสารสนเทศภายในองค์กร

Enterprise Application Integration (EAI)

 ื่ ่ ี

การเชอมโยงระบบสารสนเทศทีมความหลากหลายภายในองค์กร

 ระบบร ัฐบาลอิเล็ กทรอนิกส ์ e-Government

 ระบบการให้บริการประชาชนจากจุดเดียว e-Citizen (G2G2C)

 ้ื

ระบบการจ ัดซอจ ัดจ้างทางอิเล็กทรอนิกส ์ (G2B e-Procurement)

 ระบบธุรกิจผ่านสออิเล็ กทรอนิกส ์ e-Business

ื่

 ื่ ้ ื้ ้

การเชอมโยงระบบสารสนเทศของบริษ ัทผูซอ ก ับ บริษ ัทผูขาย

 B2B e-Marketplace

 e-Supply Chain Management









Web Services: The Next Generation of Web sk 9

Interoperability



 Data Interoperability +

Process Interoperability



 ขีดความสามารถในการทางานข้ามระบบ



ได้ โดยใชมาตรฐานกลางทางเทคนิคที่

ทาให้เกิดการแลกเปลียน ข้อมูล และ





เรียกใชงาน โปรแกรม ข้ามระบบทีม ี



ั้

ความแตกต่างก ันทง ฮาร์ดแวร์ และ

ซอฟต์แวร์

Web Services: The Next Generation of Web sk 10

แนวทางของ 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









Web Services: The Next Generation of Web sk 11

Service-Oriented Architecture (SOA)









Web Services: The Next Generation of Web sk 12

XML – eXtensible Markup Language

 ่ ู้ ้

Markup Language ทีผใชสามารถกาหนด

่ ่ ื่

tags ทีใชสอความหมายของเนือหา และ ้

กาหนดโครงสร้างของเอกสาร

 ่ ี ้

ข้อมูลทีมโครงสร้างนีจะถูกนาไปประมวลผล

ต่ออย่างอ ัตโนม ัติได้งาย่









Web Services: The Next Generation of Web sk 13

ต ัวอย่าง XML Purchase Order









ระบบสารสนเทศ ต้องการเชื่อมโยงกับ

ั ้

ของ บริ ษทผูซ้ื อ ระบบสารสนเทศ

ั ้

ของ บริ ษทผูขาย

เช่น ระบบข้อมูลสต็อก







Web Services: The Next Generation of Web sk 14

กาเนิดมาตรฐาน SOAP

 Simple Object Access Protocol

 ็

เปนมาตรฐานของเทคโนโลยี Distributed

Objects แบบหนึง ่

 ่

สงข้อมูลผ่าน Internet/Web ในรูปแบบ

ของ XML

 ้

ง่ายในการใชงานด้วย Request/Response

HTTP Protocol







Web Services: The Next Generation of Web sk 15

SOAP Services



SOAP – an XML-based protocol ทีทาให้

เรียกโปรแกรมผ่านทาง HTTP/Web

Server ได้

Remote Procedure Call ผ่านทาง Web



ทาให้เกิดเรียกใชโปรแกรม (Software

Components) ข้ามระบบได้

Web Consortium (W3C) Support





Web Services: The Next Generation of Web sk 16

SOAP Architecture









Web Services: The Next Generation of Web sk 17

่ ั ื้ ิ

ต ัวอย่าง SOAP Request สงซอสนค้า

POST /Order HTTP/1.1

Host: www.northwindtraders.com

Content-Type: text/xml

Content-Length: nnnn

SOAPAction: "urn:northwindtraders.com:PO#UpdatePO"







10000000









0

999

89

3000

0











Web Services: The Next Generation of Web sk 18

ต ัวอย่างโครงการ e-Government Data Exchange









Application SOAP HTTP /

SOAP

HTTPS

Government

Data SOAP HTTP /

HTTPS

SOAP Gateway



Web HTML HTTP /

Servlet Exchange

browser

(GDX)

HTTPS







Legacy Data







GDI Data





Application Center Server Gateway



Web Services: The Next Generation of Web ั้ ้

Web Services ขนพืนฐาน = XML + SOAP sk 19

Government Data Infrastructure









Web Services: The Next Generation of Web sk 20

Business-to-Business

Online

Exchange









Phone

Inventory

Banking



Website Oracle Credit B2B Spending:

Suppliers At least $26 Billion in 2000

Branches People DB2 Mortgage

Soft

CRM Auto

Loans







B2B Integration

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).



Web Services: The Next Generation of Web sk 21

Web Services



Web Services Spending:

$25 Million in 2000

$250 Million in 2001

$5 billion in 2004



Industry State: Young







Affiliate

On-Premise

Locations

Online

Exchange

Credit

Card Co. Web services allows anything-to-

Banks





Phone

Mortgage

anything interoperability

Inventory Brokers

Self-Service

Applications

Website

Banking





Oracle Credit

between both internal and

Suppliers



Partners

(CheckFree) Branches People DB2

Mortgage

external systems.

Soft

Credit

Agencies

CRM

Auto

Loans

Government







Any-thing-to-Anything

Web Services Integration









Web Services: The Next Generation of Web sk 22

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









Web Services: The Next Generation of Web sk 23

The Standards









Web Services: The Next Generation of Web sk 24

The Big Picture









Web Services: The Next Generation of Web sk 25

UDDI คือ อะไร

 UDDI ย่อมาจาก Universal Description,

Discovery and Integration

 ่

นาเสนอโดยหลายบริษ ัทเชน Ariba,

Microsoft, IBM, etc.

 บอกให้ทราบว่าบริษ ัทมีผลิตภ ัณฑ์และ

บริการอะไรบ้าง

 สามารถติดต่อขอดาเนินธุรกิจการค้าก ับ

บริษ ัทได้โดยอ ัตโนม ัติโดยผ่านทาง Web

Services



Web Services: The Next Generation of Web sk 26

WSDL คือ อะไร

 WSDL ย่อมาจาก Web Services

Description Language

 ่ ื ่ ้ ิ ี

WSDL คือคูมอให้ก ับระบบ เพือเรียนรูวธการ

้ ่ ้

เรียกใชงาน Web Services ทีตองการ

 ้

WSDL เขียนขึนตามแบบมาตรฐาน XML









Web Services: The Next Generation of Web sk 27



ความปลอดภ ัยในการใชงาน Web Services



 ่ ่ ึ่

เนืองจากทางานอยูบน Internet ซงปัจจุบ ันมี

เทคโนโลยีในการร ักษาความปลอดภ ัยมากมาย



รองร ับอยูแล้ว

 ่

Web Services สามารถวิงผ่าน Firewall ได้

่ ่

เนืองจาก SOAP ถูกสงโดยผ่านโปรโตคอล HTTP

 ระบบร ักษาความปลอดภ ัยตามมาตรฐานของ PKI



(Public Key Infrastructure) เชน MD5

(Message Digest), SSL (Secure Socket

Layer) และ PGP (Pretty Good Privacy)







Web Services: The Next Generation of Web sk 28

ประโยชน์ของ Web Services ต่อการดาเนินธุรกิจการค้า



 ้

พ ันธมิตรทางการค้าสามารถเกิดขึนได้ตลอดเวลา โดยการ

ค้นหาจาก UDDI

 ็

การดาเนินธุรกิจการค้าและบริการสามารถเปนไปได้แบบ

อ ัตโนม ัติในระด ับของ Application to Application (A2A)



โดยการแลกเปลียนข้อมูลผ่านทาง Web Services

 ้ ็ ่ ่

Web Services สามารถใชเปนสวนหนึงในการดาเนินธุรกิจ



ตามเฟรมเวิรคของ ebXML

 ้ ่ ่

ง่ายต่อการนาไปใชงานเนืองจากในปัจจุบ ันมีเครืองมือ

่ ้ ่

มากมายทีใชชวยเหลือในการพ ัฒนา Web Services

 ่ ็

ลดต้นทุนในการพ ัฒนาระบบบางอย่างทีไม่จาเปนโดยขอ

บริการจาก Web Services ของพ ันธมิตรทางการค้า





Web Services: The Next Generation of Web sk 29

่ ่ ้

เครืองมือทีใชในการพ ัฒนา 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



Web Services: The Next Generation of Web sk 30

Web Services ในปัจจุบ ันและอนาคต

 ็ ่

เปนทียอมร ับในระด ับโลก จากหลายๆหน่วยงานและองค์กร

 ้ ้ ็

มีการใชงานก ันอย่างกว้างขวางและถูกใชเปนโครงสร้าง



พืนฐานสาหร ับการประสานงานข้ามระบบ

 มีบริการหลากหลายให้เลือกใช ้ (สนใจดูต ัวอย่างได้จาก

xmethods.net และ salcentral.com)

 ็ ่

เปนเครืองมือสาหร ับการดาเนินธุรกิจออนไลน์ อีกหลาย

อย่างเชน ่

E-Commerce, E-Business, E-Learning,

E-Government, etc.

 ้ ่

แนวทางการใชงานในประเทศไทยเชน โครงการโครงสร้าง



พืนฐานสารสนเทศภาคร ัฐ (Government Data

Infrastructure)



Web Services: The Next Generation of Web sk 31

่ ่

สรุปสาระสาค ัญทีเกียวก ับ Web Services

 การใช ้ Web Services เพือทาให้เกิด



Interoperability

 การใช ้ Web Services และ UDDI เพือดาเนิน



ธุรกิจการค้า

 การร ักษาความปลอดภ ัยของข้อมูลสาหร ับ Web

Services

 ี

ข้อดีและข้อเสยของ Web Services

 ประโยชน์ของ Web Services ต่อการพ ัฒนา

ประเทศ

 ็

ความเปนไปของ Web Services ในปัจจุบ ันและ

อนาคต



Web Services: The Next Generation of Web sk 32

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









Web Services: The Next Generation of Web sk 33

สรุป

 2002 ปี แห่ง “Web Services”

 ั้ ่ั ่

บริษ ัทชนนาด้านไอที ผล ักด ันโซลูชนด้าน Web Services, เชน

 IBM – Software Infrastructure

 Sun – Services on Demand, Sun One

 Microsoft – Web Services, Microsoft .NET



 ่

คลืนลูกถ ัดไปของเว็ป

 ิ ์

จากการแลกไฟล์ HTML ระหว่าง เว็ปเซรฟเวอร์

 ็

มาเปนการแลก “บริการ” (ก้อนโปรแกรม Software

่ ิ ์

Components) ระหว่างระบบสารสนเทศ โดยวิงผ่านเว็ปเซรฟเวอร์

 ประโยชน์

 ื่

เชอมระบบสารสนเทศภายในองค์กร

 ิ

การปฏิบ ัติการอย่างมีประสทธิภาพ

 การกระจายโปรแกรมบริการ

 ่ ้

การนาโปรแกรมทีพ ัฒนาแล้วมาใชงานใหม่





Web Services: The Next Generation of Web sk 34

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







Web Services: The Next Generation of Web sk 35

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









Web Services: The Next Generation of Web sk 36


Other docs by HC11111101635
Title
Views: 0  |  Downloads: 0
userguide
Views: 1  |  Downloads: 0
2007 20Meeting 20Program 20 20w 20photo 202
Views: 0  |  Downloads: 0
SBIC
Views: 11  |  Downloads: 0
cv
Views: 0  |  Downloads: 0
FinishingSchool 202009_Brochure
Views: 0  |  Downloads: 0
ln Hospital 20101
Views: 0  |  Downloads: 0
PropertyPowerpoint1
Views: 0  |  Downloads: 0
josekurianresume
Views: 0  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!