步骤3:添加补偿服务的伙伴链接。
伙伴链接类型可以有一个或两个角色。
图3显示了伙伴链接实现的屏幕显示。
Figure 3 shows the implementation screen of the Partner Link.
引入的请求能够路由到外部伙伴链接。
BPEL称这些链接为合作伙伴链接。
每个伙伴链接都与逻辑工作角色相关联。
该流程中的每个任务都与一个伙伴链接相关联。
您需要伙伴链接以便将补偿服务添加到流程中。
You need a Partner Link to add the compensation service into the process.
WSDL文件定义了合作伙伴链接类型。
用于BPEL文件中的合作伙伴链接名。
伙伴链接绑定。
为业务流程设置合作伙伴和合作伙伴链接。
Set up the Partner and Partner link for the business process.
单击伙伴链接就会显示该链接相关的任务。
Clicking on a partner link shows the task with which it is associated.
其余的标记用每一个合作伙伴服务代表合作伙伴链接。
The rest of the tags represent the partner links with each of the partner services.
单击new创建一个新的合作伙伴链接类型。
单击ok结束合作伙伴链接类型和合作伙伴链接的定义。
Click OK to finish the definition of partner link type and partner link.
所以,在流程中添加伙伴链接RevokeOrder。
这些伙伴链接识别那些与业务流程进行交互的伙伴。
Partner links identify the parties that interact with the business process.
在大多数情况下,合作伙伴链接类型将是正确的选择。
In most cases the Partner Link Type would be the right assumption.
您也将会发现他们被引用在BPEL流程内部生成的伙伴链接中。
You will also find them referenced in the generated Partner Links inside the BPEL process.
本文中的所有变量、合作伙伴链接和活动都以大写字母开头。
All variables, partner links, and activities in this article begin with at capital letter.
该引用与BPEL文件中所包含的合作伙伴链接定义相匹配。
This reference matches the partner link definition that is contained in the BPEL file.
如果是一个伙伴发生操作调用,则合作伙伴链接类型就必定只有一个角色。
If invocations of operations from one partner occur, the partner link type must have one role.
稍候我将在链接到您的服务合作伙伴部分详细论述合作伙伴链接。
I'll discuss partner links in detail later, in Linking to your service partners.
在编辑器中,选择QuotesProcessPortType伙伴链接。
In the editor, select the QuotesProcessPortType partner link.
举例来说,正如我们前面已经提及,用于伙伴链接的所有绑定信息将必须指定。
For instance, as we mentioned already, all the binding information will need to be specified for the Partner Links.
与伙伴链接中BPEL过程角色相对应的服务会在部署过程的时候发布。
The service that corresponds to the BPEL process role of a partnerlink is the one that will be published during deployment of a process.
单击browse…来指定包含服务合作伙伴链接类型的WSDL文件。
Click Browse... to specify the WSDL file that contains the service partner port type.
您最后需要做的事情就是,为用于调用活动的合作伙伴链接分配服务端点。
The last thing you need to do is assign the service endpoint to the partner link you use for your invoke activity.
还需要在BPEL文件中定义相同的合作伙伴链接,如清单5 所示
The same partner link also needs to be defined in your BPEL file, as shown in Listing 5
应用推荐