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

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

博客园 - lisugar

BPEL元素定义层次关系 去黑头的方法.... BPEL中的XML元素解析 2 - lisugar - 博客园 WDSL文件中的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服务程序[转载西门吹雪的好文章]
BPEL中的XML元素解析
lisugar · 2006-08-13 · via 博客园 - lisugar

WSDL中定义的元素
BPEL是构建在Webservice上的一层,在BPEL的定义中同样使用了WSDL的描述,但是BPEL将Binding,Service与WSDL的其它部分分离,这个部分WSDL是支持的,由此做到灵活的绑定配置。在传统WSDL(Types, Message,PortType)类型之外,BPEL的额外定义的XML元素:

<partnerLinkType> 在BPEL2.0中这样解释

<PartnerLinkType>s can be used to represent dependencies between services, regardless of whether a WS-BPEL business process is defined for one or more of those services. Each <partnerLinkType> defines up to two "role" names, and lists the port types that each role must support for the interaction to be carried out successfully.

也就是说<partnerLinkType>定义的是服务之间的依赖关系,在WSDL中的XML一文中我已经说过,PortType其实可以理解为服务接口,每一个PortType对应一个Service只不过,在这里具体服务的实现的部署还没有真正的开始。每一个<partnerLinkType>置多有两个<Role>,每一个<Role>对应一个且必须对应一个PortType,我的理解是这里的Role和业务过程有关,代表一个动作的执行过程,如果在双方的整个交互过程中只需要一方则只定义一条<Role>就可以了,也就是说业务流程的某一个环节,在接受请求以后,必不需要把服务结果返回发送者,而是顺次提交给下一个业务流程,在这个过程中,发起者和接受者之间只需要一条规则保证,并且只有发起方规则保证。最多有两个也很好理解,在一次交互的过程中,至多只能有两方参与.
BPEL2.0中
的代码如下

   <plnk:partnerLinkType name="purchasingLT">

      
<plnk:role name="purchaseService"

         portType
="pos:purchaseOrderPT" />

   
</plnk:partnerLinkType>


注意这里的<partnerLinkType> 必须定义在WSDL的末尾.

Continue... ...