xml.wsdlui/javahelp/org/netbeans/modules/xml/wsdlui/docs/wsdl_editor_bpel_ext.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5 Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
7 Oracle and Java are registered trademarks of Oracle and/or its affiliates.
8 Other names may be trademarks of their respective owners.
10 The contents of this file are subject to the terms of either the GNU
11 General Public License Version 2 only ("GPL") or the Common
12 Development and Distribution License("CDDL") (collectively, the
13 "License"). You may not use this file except in compliance with the
14 License. You can obtain a copy of the License at
15 http://www.netbeans.org/cddl-gplv2.html
16 or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
17 specific language governing permissions and limitations under the
18 License. When distributing the software, include this License Header
19 Notice in each file and include the License file at
20 nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
21 particular file as subject to the "Classpath" exception as provided
22 by Oracle in the GPL Version 2 section of the License file that
23 accompanied this code. If applicable, add the following below the
24 License Header, with the fields enclosed by brackets [] replaced by
25 your own identifying information:
26 "Portions Copyrighted [year] [name of copyright owner]"
30 The Original Software is NetBeans. The Initial Developer of the Original
31 Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
32 Microsystems, Inc. All Rights Reserved.
34 If you wish your version of this file to be governed by only the CDDL
35 or only the GPL Version 2, indicate your decision by adding
36 "[Contributor] elects to include this software in this distribution
37 under the [CDDL or GPL Version 2] license." If you do not indicate a
38 single choice of license, a recipient has the option to distribute
39 your version of this file under either the CDDL, the GPL Version 2 or
40 to extend the choice of license to its licensees as provided above.
41 However, if you add GPL Version 2 code and therefore, elected the GPL
42 Version 2 license, then the option applies only if the new code is
43 made subject to such option by the copyright holder.
49 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
50 <title>Configuring Partner Link Types Using the WSDL View</title>
51 <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
56 <h2>Configuring Partner Link Types Using the WSDL View</h2>
57 <p><small><a href="#seealso">See Also</a></small></p>
60 <p>Before you can add a partner link to a BPEL process,
61 you must add a partner link type to the WSDL file.</p>
63 <p>In a BPEL process, a <i>partner link</i> represents the interaction between the BPEL process and a partner service.
64 Each partner link is associated with a partner link type.</p>
66 <p>A <i>partner link type</i> characterizes the conversational relationship between two services.
67 The partner link type can have one or two roles.
68 A role describes the function that a service has in the relationship.
69 Examples of roles are <tt>loanRequestor</tt> and <tt>loanProcessor</tt>.
70 Each role must specify the port type that the service will use to receive messages.</p>
73 <p>A <i>partner link type</i> characterizes the conversational relationship between two services.
74 A partner link type can have one role or two roles.</p>
77 <li>If a partner link type has one role, then the relationship involves a service that is willing to interact with any other service, without placing any requirements on the other service.</li>
78 <li>If a partner link type has two roles, then the relationship involves two peer services.</li>
81 <p>A role describes the function that a partner has in the relationship.
82 For example, in a procurement scenario, the partner link type could have two roles: <tt>Buyer</tt> and <tt>Seller</tt>.</p>
84 <p>A role must specify the port type that the service will use to receive messages.</p>
86 <p><b>To add a partner link type automatically</b></p>
89 <li>When you do either of the following tasks, a partner link type is automatically generated.
90 The partner link type has a default role.</li>
92 <li>Create a WSDL file from scratch.</li>
93 <li>Create a port type.</li>
95 <li>(Optional) To add a second role, do the following:</li>
97 <li>Right-click the partner link type node and choose Add > role.</li>
98 <li>If the Properties window is not visible, choose Window > Properties.</li>
99 <li>Select the role.</li>
100 <li>(Optional) Change the default name.</li>
101 <li>Specify the port type.</li>
105 <p><b>To add a partner link type manually:</b></p>
108 <li>In the WSDL view, right-click the Extensibility Elements node and choose Add > PartnerLinkType. <br>
109 A partner link type node appears under the Extensibility Elements node.
110 The partner link type has a default role.</li>
111 <li>(Optional) To add a second role, right-click the partner link type node and choose Add > role.</li>
112 <li>If the Properties window is not visible, choose Window > Properties.</li>
113 <li>For each role, do the following:</li>
115 <li>Select the role.</li>
116 <li>(Optional) Change the default name.</li>
117 <li>Specify the port type.</li>
122 <dt><a name="seealso">See Also</a></dt>
123 <dd><a href="nbdocs://org.netbeans.modules.bpel.help/org/netbeans/modules/bpel/help/elements/partner_link.html" title="Partner Link">Partner Link</a></dd>
124 <dd><a href="wsdl_editor_views.html" title="About the WSDL View">About the WSDL View</a></dd>
128 <a href="credits.html">Legal Notices</a></small>
129 <table border="0" cellpadding="150">
130 <tr><td> </td></tr>
131 <tr><td> </td></tr>
132 <tr><td> </td></tr>