posts - 28, comments - 27, trackbacks - 0, articles - 0
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

webservice——基本概念

Posted on 2006-09-18 15:03 小小凉粉 阅读(294) 评论(0)  编辑  收藏 所属分类: JavaEE

1. SOAP--Simple Object Access Protocal

SOAP is a lightweight protocol intented to exchanging structured information in a decentralized, distributed environment.The two major goals for SOAP is simplicity and extensibility.

SOAP is widely used for XML messaging as it :

    defines thin layer on top of widely understood HTTP 
    is flexible and extensible 
    enjoys broad industry and developer community support

Main uses of SOAP are for

    messaging: sending XML data orders, invoices, forms 
    RPC: invoking services querying data sources, transacting

2. WSDL--Web Service Definition Language

As the communication protocols and message formats are standardized in the web community, it becomes increasingly possible and important to be able to describe the communication s in some structured way.WSDL addresses this need by defining an XML grammar for describing network services as collections of communication endpoints capable of exchanging messages.

3.  UDDI-- Universal Description, Discovery, and Integration

UDDI protocol is a central element of the group of related standards that comprise the Web services stack. The specification defines a standard method for publishing and discovering the network-based software components of a service-oriented architecture.

4.  the relationship between SOAP,WSDL and UDDI

web service client 需要定位另一个应用程序或者是网络上的某一段业务逻辑, client 通过 name catagory identifier 或者 specification 来从 UDDI registry 中查询服务,定位以后, client UDDI registry 中得到 WSDL 文档的位置信息。在 WSDL 文档的 XML schema 中包含了如何访问 web service 和请求信息的格式, client 按照 xml schema 的格式来创建一个 soap 消息,并向 host 发送请求。


只有注册用户登录后才能发表评论。


网站导航: