---
title: "WSDL 笔记"
author: "Kyll"
date: "2007-12-10T13:36:37Z"
tags: ["Web", "XML"]
slug: "wsdl"
draft: false
lastmod: "2007-12-10T13:36:37Z"
id: 147246
url: "https://kyll.iteye.com/blog/147246"
---

WSDL Web 服务描述语言。  
WSDL 用 XML 写。  
WSDL 是一个 XML 文档。  
WSDL 用来描述 Web 服务。  
WSDL 用来定位 Web 服务。  
WSDL 仍然不是 W3C 标准。

Element Defines &lt;portType&gt; The operations performed by the web service &lt;message&gt; The messages used by the web service &lt;types&gt; The data types used by the web service &lt;binding&gt; The communication protocols used by the web service

WSDL 文档的主要结构如下：

xml 代码

 

01. &lt; definitions &gt;
02. &lt; types &gt;
03. definition of types........
04. &lt;/ types &gt;
05. &lt; message &gt;
06. definition of a message....
07. &lt;/ message &gt;
08. &lt; portType &gt;
09. definition of a port.......
10. &lt;/ portType &gt;
11. &lt; binding &gt;
12. definition of a binding....
13. &lt;/ binding &gt;
14. &lt;/ definitions &gt;