惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
D
Docker
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
美团技术团队
V
V2EX
Last Week in AI
Last Week in AI
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Microsoft Security Blog
Microsoft Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
B
Blog RSS Feed
博客园_首页
B
Blog
博客园 - 叶小钗
I
InfoQ
WordPress大学
WordPress大学
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
The Register - Security
The Register - Security
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
Latest news
Latest news
W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CERT Recently Published Vulnerability Notes
C
CXSECURITY Database RSS Feed - CXSecurity.com
Recent Commits to openclaw:main
Recent Commits to openclaw:main
N
News and Events Feed by Topic
S
Secure Thoughts
The Hacker News
The Hacker News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News

博客园 - lisugar

BPEL元素定义层次关系 去黑头的方法.... BPEL中的XML元素解析 2 - lisugar - 博客园 BPEL中的XML元素解析 WS-BPEL2.0 Specification 什么是BPEL - 老外们给的定义 你们猜吧:) 劳动人民的智慧是无穷的,只要你有发现的眼睛 安全 C# .net 2005 beta 所有安装连接 .net中实现拖拽控件 今天最大的收获 C#程序分类管理 C#创建目录的方法 数据库中权限分配技巧 [wenService]ASP.Net+XML打造留言薄 [webService]如何编写需要授权才能使用的WebService?(原著网事如风) [[Advanced T-SQL]] Automate the Generation of Stored Procedures for Your Database [C#]Windows服务程序[转载西门吹雪的好文章]
WDSL文件中的XML元素
lisugar · 2006-08-13 · via 博客园 - lisugar

理解起来其实很简单
Types指定类型,当然是在后面的Message中需要的类型
Message可以理解为函数中的参数,只不过如果一个函数如果有多个参数的时候应该吧这些参数定义到一个Message中而不能定义为多个Message
ProtTypes就是一个服务接口,定制在你的服务中应该包含哪些操作
Operations当然就是这些操作了,也就是对应每个接口中的函数名称,每一个Operations都可以有input,output,fault等这些参数够来自于Message
Bindings定义通讯方式,每一个PortType对应一个Binding,然后在Binding中进一步细化设置每一个操作,进而每一个input,output,fault的传出方式,编码方式等
Service就是将binding与对应的地址相关联,这样就知道什么地址上的服务能够做哪些事了

WSDL的namespace里有一系列的XML元素。下表概述了那些元素、它们的属性和内容。

元素 属性 内容(子元素)
<definitions> name
targetNamespace
xmlns (other namespaces)
<types>
<message>
<portType>
<binding>
<service>
<types> (none) <xsd:schema>
<message> Name <part>
<portType> Name <operation>
<binding> name
type
<operation>
<service> name <port>
<part> name
type
(empty)
<operation> name
parameterOrder
<input>
<output>
<fault>
<input> name
message
(empty)
<output> name
message
(empty)
<fault> name
message
(empty)
<port> name
binding
<soap:address>