1. Trang chủ
  2. » Công Nghệ Thông Tin

Web Services Tutorial phần 1 pptx

10 275 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 804,18 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Web Services Tutorial... About this tutorial... Web Services Technology... What are Web Services about• Web Services is a technology that allows applications to communicate with each ot

Trang 1

Web Services Tutorial

Trang 2

About this tutorial

Trang 4

Web Services Technology

Trang 5

What are Web Services about

Web Services

is a technology that allows applications to communicate with each other in a platform- and programming

language-independent manner

A Web Service

is a software interface that describes a collection of

operations that can be accessed over the network

through standardized XML messaging It uses protocols based on the XML language to describe an operation to

Trang 6

The Web Services Model

Bind

Services

<Header>

<Body>

Client

Service Provider

Service Registry

UDDI

Services Description

WSDL

Services Description

WSDL

Trang 7

Enabling Technologies

S E C U R I

XML-Based message

SOAP

Service description

WSDL

Service discovery and publication

UDDI

Trang 8

SOAP 1.1 Message

<SOAP-ENV:Envelope

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>

<SOAP-ENV:Header>

<m:Transaction

SOAP-ENV:actor=" http://schemas.xmlsoap.org /soap/actor/next"

SOAP-ENV:mustUnderstand="1" >5 </m:Transaction>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

<m:HoldingByAcquisitionNumber xmlns:m="Some-URI“ > 1234567

</m:HoldingByAcquisitionNumber>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Trang 9

SOAP Message Transmission

Original

Sender

Intermediary Ultimate

Receiver

SOAP node

Ultimate Receiver

<password

role=“…/next”

mustUnderstand=“true”>

<transaction

Target

Defa ult tar

get

<Header>

Trang 10

Soap 1.1 Message over HTTP

POST /LibrarySearch HTTP/1.1

Host: www.libraryserver.com

Content-Type: text/xml; charset="utf-8"

Content-Length: nnnn

SOAPAction: "Some-URI”

<SOAP-ENV:Envelope

<SOAP-ENV:Header>

… </SOAP-ENV:Header>

</SOAP-ENV:Body>

….

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Ngày đăng: 14/08/2014, 19:20

TỪ KHÓA LIÊN QUAN