什么是webservice

什么是webservice_第1张图片Web services是建立可互操作的分布式应用程序的新平台。

webservice是一种标准,他可以通过soap或rest的方式来实现。

传统的soap-webservice,使用了soap协议(基于xml包装)等。如果使用restful-webservice的话,则不需要soap与之相关的协议等,而是通过最简单的 http 协议传输数据 ( 包括 xml 或 json) 。既简化了设计,也减少了网络传输量(因为只传输代表数据的 xml 或 json ,没有额外的 xml 包装)。

webservice相关的几个概念:

wsdl:网络服务描述语言是Web Service的描述语言,它包含一系列描述某个web service的定义。

UDDI: 是一种目录服务,企业可以使用它对 Web services 进行注册和搜索。UDDI,英文为 “Universal Description, Discovery and Integration”,可译为“通用描述、发现与集成服务”。

UDDI[1] 是一种规范,它主要提供基于Web服务的注册和发现机制,为Web服务提供三个重要的技术支持:①标准、透明、专门描述Web服务的机制;②调用Web服务的机制;③可以访问的Web服务注册中心。UDDI规范由OASIS(Organization for the Advancement of Structured Information Standards[1] )标准化组织制定。[

普通的Web项目,一般是绑定了特定的渲染语言(jsp、velocity,freemark),当然也有原始的html。但是仅仅限定了特定的返回数据格式与之相对应。Webservice项目则是能够被其他系统调用(约束了相关格式)。因此普通的利用ssh或者springmvc建立的web项目并没有发布webservice。普通的web项目可以使用一些技术将需要发布的接口发布出去,就成为了webservice了。

U2FsdGVkX18RtdAcHsTD88pX9gjXzUOLKo/gti1VgFSadzEYmL642DbX3UvRzC/I
rPtX0b3LCyEbUELSESVDlt/Gt7J0eVuVRBXyKcx69h/AnZ05UiOLrPXcW55nOTAL
m5pUOMbZR9Ki8sTRmNiACF25Ht7mAIzmpxbE+VitC/8zD0cx+aWxhEubXpEupy27
e8l7CX4IOjXKXYWGzvursdSSDckMstjB7OJWH5qIRCNbvWkPnB7CyiXKHCdhZNVW
D1NgXSqHl4P4oeNKSn5Y7LLe/kI8puYF4QBeiXZYN/96OK+TUlMjMwFWXNaiPRcO
z6qIYt+FzHHdXB8D0kFEOSx9whBDjnSjQF6ulwE1TTJa32HqdNftEuXheZD5Dy76
mY7PIgF5JJ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