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的三要素:數據結構