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了。
U2FsdGVkX1/EmwWtGFraTfRjHx8boBzE/yvG7DYMisj1mb8o4EipemdX3dYl01o3 FSbFX7BMgy+oL2GLofu9911ZYYh+u8GW9HH1TQfRM4NxaWeq6BWAlDclQx+lX66d fGDwMa7S4RiR5ZxNABcCTNwdHENqLJSbaVdnnw8k7P2sLUmOZXZtkfCvGLdbO336 sx1gaGXmb41y3o9SsE7EfF8/ANbQcmTdQELdy9/keRZrIT/DJHKfNxrFWqVo5LD1 5oipw3LPiAtU+hgV4ogFC6OYVkC3ACwaI0DSqDLsl20bcNYIngDOGKxvEaVGu/0i 5v0yM+8AYiqQgZ2EM4OHAA8IDlvmFPBbuBm8jfmhlCQIVlky+x25yasbG/EO5kjk 3n/kugDLC/rw9biumvT5FKTEMGyS4TKj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