xml.wsdlui/javahelp/org/netbeans/modules/xml/wsdlui/docs/binding_subtype_SOAP.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>WSDL Binding Types: SOAP</title>
51 <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
56 <h2>WSDL Binding Types: SOAP</h2>
57 <p><small><a href="#seealso">See Also</a></small></p>
59 <p>When creating or editing a WSDL file, you may be prompted to select a binding type and a binding subtype.
60 A <i>binding</i> contains protocol and data format information for the operations and messages of a port type.</p>
62 <p>If you select the SOAP binding type, then you must select one of the following binding subtypes:</p>
66 <li><b>RPC Literal.</b>
67 The operations are RPC oriented (that is, messages contain parameters and return values).
68 Each message part references a concrete schema definition by using the element or type attribute.</li>
70 <li><b>Document Literal.</b>
71 The operations are document oriented (that is, messages contain one or more documents).
72 Each message part references a concrete schema definition by using the element or type attribute.</li>
74 <li><b>RPC Encoded.</b>
75 The operations are RPC oriented (that is, messages contain parameters and return values).
76 Each message part references an abstract type by using the type attribute.</li>
80 <h3>Basic Profile Validation</h3>
82 <p>If you are creating a WSDL file and you select the SOAP binding type,
83 then the wizard checks for comformance to various requirements of the
84 Web Services Interoperability Organization (WS-I) Basic Profile Version 1.1.</p>
86 <p>These requirements concern the RPC Literal and Document Literal binding subtypes.
87 If your settings for message parts and the binding subtype do not conform to these requirements,
88 then an error message appears at the bottom of the wizard page and the Finish button is disabled.</p>
90 <p>Here is a sample error message.</p>
92 <p><tt>WS-I Basic Profile Rule R2204: A document-literal binding in a DESCRIPTION MUST refer,
93 in each of its soap:body elements, only to wsdl:part elements(s) that have been defined using the element attribute.</tt></p>
95 <h3>Location Property</h3>
97 <p>When a WSDL file is created, the port's <tt>soap:address</tt> node includes a Location property.
98 The Location property specifies the address of the port.
99 The wizard generates a dummy value for the Location property.</p>
101 <p>For "My Role" (inbound), the Location property must be unique.
102 That is, the value must not conflict with any other WSDL files that are deployed to the same application server.</p>
104 <p>For "Partner Role" (outbound), the Location property does not need to be unique.</p>
109 <dt><a name="seealso">See Also</a></dt>
110 <dd><a href="CSH/new_wsdl_wizard_define_concrete.html" title="New WSDL Document Wizard: Concrete Configuration">New WSDL Document Wizard: Concrete Configuration</a></dd>
111 <dd><a href="CSH/generate_binding_service_port.html" title="Generate Binding and Service Port Dialog Box">Generate Binding and Service Port Dialog Box</a></dd>
115 <a href="credits.html">Legal Notices</a></small>