xml.wsdlui/javahelp/org/netbeans/modules/xml/wsdlui/docs/wsdl_editor_services.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 Services 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 Services Using the WSDL View</h2>
    57 <p><small><a href="#seealso">See Also</a></small></p>
    58 
    59 <p>You can use the WSDL Editor to create, edit, and delete services.</p>
    60 
    61 <p>In a WSDL file, a <i>service</i> consists of one or more related ports. 
    62 Each <i>port</i> associates a binding with a network address, thus defining an individual endpoint that clients can access.</p>
    63 
    64 <p>The WSDL view provides the following approaches:</p>
    65 
    66 <ul>
    67   <li>You can quickly create a binding and service from an existing port type.</li>
    68   <li>You can create the binding, service, and their subnodes individually. Before you can configure the service's port, you must create the binding.</li>
    69 </ul>
    70 
    71 
    72 
    73 <p><b>To create a binding and service from a port type:</b></p>
    74 
    75 <ol>
    76   <li>In the WSDL view, right-click the port type node and choose Add &gt; Binding and Service Port. <br>
    77     The Generate Binding and Service Port dialog box appears.</li>
    78   <li>Enter a name for the binding.</li>
    79   <li>Select the type of binding.</li>
    80   <li>Select the binding subtype. The choices vary depending on the binding type.</li>
    81   <li>Enter a name for the service.</li>
    82   <li>Enter a name for the port.</li>
    83   <li>Click OK.<br>
    84     A binding node and a service node appear.<br>
    85     The binding node contains an extensibility element (for example, <tt>file:binding</tt>) that identifies the type of binding. 
    86     The binding node also contains one or more operation nodes.<br>
    87     The service node contains a port node. 
    88     The port node contains an address extensibility element (for example, <tt>file:address</tt>).</li>
    89   <li>For information on how to configure the extensibility elements of the binding and service, see the appropriate binding component user's guide.</li>
    90 </ol>
    91 
    92 <p><b>To create a service individually:</b></p>
    93 
    94 <ol>
    95   <li>In the WSDL view, right-click the Services node and choose Add Service. <br>
    96     A service node appears.</li>
    97   <li>If the Properties window is not visible, choose Window &gt; Properties.</li>
    98   <li>Select the service node.</li>
    99   <li>(Optional) Change the value of the Name property.</li>
   100   <li>Right-click the service node and choose Add &gt; Service Port. <br>
   101     A port node appears.</li>
   102   <li>Select the port node.</li>
   103   <li>(Optional) Change the value of the Name property.</li>
   104   <li>Set the Binding property to the desired binding.</li>
   105   <li>Right-click the port node and add the address extensibility element (for example, File Address).</li>
   106   <li>For information on how to configure the address extensibility element, see the appropriate binding component user's guide.</li>
   107 </ol>
   108 
   109 <p><b>To delete a service or port:</b></p>
   110 
   111 <ol>
   112   <li>Select the service or port node.</li>
   113   <li>Press Delete.</li>
   114 </ol>
   115 
   116 <dl>
   117 <dt><a name="seealso">See Also</a></dt>
   118 <dd><a href="wsdl_editor_views.html" title="About the WSDL View">About the WSDL View</a></dd>
   119 <dd><a href="wsdl_editor_bindings.html" title="Configuring Bindings Using the WSDL View">Configuring Bindings Using the WSDL View</a></dd>
   120 </dl>
   121 <hr>
   122 <small>  
   123 <a href="credits.html">Legal Notices</a></small>
   124 <table border="0" cellpadding="150">
   125 <tr><td>&nbsp;</td></tr>
   126 <tr><td>&nbsp;</td></tr>
   127 <tr><td>&nbsp;</td></tr>
   128 </table>
   129 </body>
   130 </html>