传统的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+wdx5fR2S09/1/uI9kw/Flegqey6RcRDSB/65q18rP3TSwy4goBW3f
nb2qPIlAwpVHABueO3gdphMX6ZCSRwDvsn7ybtaZR/zQv1YoMKTYMh1tGxDEEiBxUtdad3XoMIX9ErOjcjjwkkr1IpBkRiqqXScpaR5xvnLciXsL1CTV+ENzMVb6CdL05Y2mBWHPR0ohzo89JAeUKucllO4WzjHA4HdIDibPi1yWay8M3/tyE/bgblDg4V8x+RLC6Q/JF6eOnB7oOEaYjUcaavkBeif9lI/IyrCpGE1saojvWGRdnTiFB7XBZfwUV+YYVnjn648UygqsKEY4l7ugGLAo0wBx5+nLR4aV3FARUqze0PdKDD3jAVP3e036JOzWboVJXdxk7U7aoC2BAXoGaaJg+JkoS0lFrlskfEglSGjLyJuLwM20MY7evQcwI7cIN/juh9FXV2ArfHGJ4NjKGXvBL7dr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