Web service:是一个平台独立的,低耦合的,自包含的、基于可编程的web的应用程序,可以使用开放的XML(标准通用标记语言下的一个子集)标准来描述、发布、发现、协调和配置这些应用程序,用于开发分布式的互操做的应用程序。(说白了就是一个应用程序)。web
wsdl(Web Services Description Language):网络服务描述语言是Web Service的描述语言.(说白了就是webservice的描述语言).编程
web service 执行的操做 <message> web service 使用的消息 <types> web service 使用的数据类型 <binding> web service 使用的通讯协议 一个 WSDL 文档的主要结构是相似这样的: <definitions> <types> definition of types........ </types> <message> definition of a message.... </message> <portType> definition of a port....... </portType> <binding> definition of a binding.... </binding>
soap(Simple Object Access Protocol):简单对象访问协议是交换数据的一种协议规范,是一种轻量的、简单的、基于XML(标准通用标记语言下的一个子集)的协议,它被设计成在WEB上交换结构化的和固化的信息。网络
<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Header> <!--百度百科示例--> </soap:Header> <soap:Body> <!--百度百科示例--> <soap:Fault> <!--百度百科示例--> </soap:Fault> </soap:Body> </soap:Envelope>
webservice的三要素:数据结构