xml.wsdlui/javahelp/org/netbeans/modules/xml/wsdlui/docs/wsdl_editor_bpel_ext.html
author Milutin Kristofic <mkristofic@netbeans.org>
Tue, 31 Jan 2017 14:20:36 +0100
changeset 1584 ddcac47bfed1
parent 1241 f7c3471c4a3f
permissions -rw-r--r--
Added Missing license terms
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     2 <!--
     3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     4 
     5 Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
     6 
     7 Oracle and Java are registered trademarks of Oracle and/or its affiliates.
     8 Other names may be trademarks of their respective owners.
     9 
    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]"
    27 
    28 Contributor(s):
    29 
    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.
    33 
    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.
    44 -->
    45 
    46 <html>
    47 
    48 <head>
    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">
    52 </head>
    53 
    54 <body>
    55 
    56 <h2>Configuring Partner Link Types Using the WSDL View</h2>
    57 <p><small><a href="#seealso">See Also</a></small></p>
    58 
    59 <!--
    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>
    62 
    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>
    65 
    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>
    71 -->
    72 
    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>
    75 
    76 <ul>
    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>
    79 </ul>
    80 
    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>
    83 
    84 <p>A role must specify the port type that the service will use to receive messages.</p>
    85 
    86 <p><b>To add a partner link type automatically</b></p>
    87 
    88 <ol>
    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>
    91   <ul>
    92     <li>Create a WSDL file from scratch.</li>
    93     <li>Create a port type.</li>
    94   </ul>
    95   <li>(Optional) To add a second role, do the following:</li>
    96   <ol type="a">
    97     <li>Right-click the partner link type node and choose Add &gt; role.</li>
    98     <li>If the Properties window is not visible, choose Window &gt; Properties.</li>
    99     <li>Select the role.</li>
   100     <li>(Optional) Change the default name.</li>
   101     <li>Specify the port type.</li>
   102   </ol>
   103 </ol>
   104 
   105 <p><b>To add a partner link type manually:</b></p>
   106 
   107 <ol>
   108   <li>In the WSDL view, right-click the Extensibility Elements node and choose Add &gt; 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 &gt; role.</li>
   112   <li>If the Properties window is not visible, choose Window &gt; Properties.</li>
   113   <li>For each role, do the following:</li>
   114   <ol type="a">
   115     <li>Select the role.</li>
   116     <li>(Optional) Change the default name.</li>
   117     <li>Specify the port type.</li>
   118   </ol>
   119 </ol>
   120 
   121 <dl>
   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>
   125 </dl>
   126 <hr>
   127 <small>  
   128 <a href="credits.html">Legal Notices</a></small>
   129 <table border="0" cellpadding="150">
   130 <tr><td>&nbsp;</td></tr>
   131 <tr><td>&nbsp;</td></tr>
   132 <tr><td>&nbsp;</td></tr>
   133 </table>
   134 </body>
   135 </html>