xml.wsdlextui/src/org/netbeans/modules/xml/wsdlextui/template/soap12/template.xml
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 1210 d92cbf254146
permissions -rw-r--r--
Added Missing copyright information in source files
skini@1210
     1
<?xml version="1.0" encoding="UTF-8"?>
skini@1210
     2
<!--
mkristofic@1583
     3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
mkristofic@1583
     4
mkristofic@1583
     5
Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
mkristofic@1583
     6
mkristofic@1583
     7
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
mkristofic@1583
     8
Other names may be trademarks of their respective owners.
mkristofic@1583
     9
mkristofic@1583
    10
The contents of this file are subject to the terms of either the GNU
mkristofic@1583
    11
General Public License Version 2 only ("GPL") or the Common
mkristofic@1583
    12
Development and Distribution License("CDDL") (collectively, the
mkristofic@1583
    13
"License"). You may not use this file except in compliance with the
mkristofic@1583
    14
License. You can obtain a copy of the License at
mkristofic@1583
    15
http://www.netbeans.org/cddl-gplv2.html
mkristofic@1583
    16
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
mkristofic@1583
    17
specific language governing permissions and limitations under the
mkristofic@1583
    18
License.  When distributing the software, include this License Header
mkristofic@1583
    19
Notice in each file and include the License file at
mkristofic@1583
    20
nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
mkristofic@1583
    21
particular file as subject to the "Classpath" exception as provided
mkristofic@1583
    22
by Oracle in the GPL Version 2 section of the License file that
mkristofic@1583
    23
accompanied this code. If applicable, add the following below the
mkristofic@1583
    24
License Header, with the fields enclosed by brackets [] replaced by
mkristofic@1583
    25
your own identifying information:
mkristofic@1583
    26
"Portions Copyrighted [year] [name of copyright owner]"
mkristofic@1583
    27
mkristofic@1583
    28
Contributor(s):
mkristofic@1583
    29
mkristofic@1583
    30
The Original Software is NetBeans. The Initial Developer of the Original
mkristofic@1583
    31
Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
mkristofic@1583
    32
Microsystems, Inc. All Rights Reserved.
mkristofic@1583
    33
mkristofic@1583
    34
If you wish your version of this file to be governed by only the CDDL
mkristofic@1583
    35
or only the GPL Version 2, indicate your decision by adding
mkristofic@1583
    36
"[Contributor] elects to include this software in this distribution
mkristofic@1583
    37
under the [CDDL or GPL Version 2] license." If you do not indicate a
mkristofic@1583
    38
single choice of license, a recipient has the option to distribute
mkristofic@1583
    39
your version of this file under either the CDDL, the GPL Version 2 or
mkristofic@1583
    40
to extend the choice of license to its licensees as provided above.
mkristofic@1583
    41
However, if you add GPL Version 2 code and therefore, elected the GPL
mkristofic@1583
    42
Version 2 license, then the option applies only if the new code is
mkristofic@1583
    43
made subject to such option by the copyright holder.
mkristofic@1583
    44
-->
mkristofic@1583
    45
<!--
skini@1210
    46
    Document   : __NAME__
skini@1210
    47
    Created on : __DATE__, __TIME__
skini@1210
    48
    Author     : __USER__
skini@1210
    49
    Description:
skini@1210
    50
        Purpose of the document follows.
skini@1210
    51
-->
skini@1210
    52
<templateGroup namespace="http://schemas.xmlsoap.org/wsdl/soap12/"
skini@1210
    53
		xmlns="http://xml.netbeans.org/schema/templates"
skini@1210
    54
		xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"
skini@1210
    55
        xsi:schemaLocation="http://xml.netbeans.org/schema/templates
skini@1210
    56
        templates.xsd" prefix="soap12">
skini@1210
    57
skini@1210
    58
    <template name="rpcLiteral" default="true">
skini@1210
    59
        <!-- specify what can be inserted inside binding tag-->
skini@1210
    60
        <wsdlElement name="Binding">
skini@1210
    61
            <extensionElement name="binding" >
skini@1210
    62
                <extensionAttr name="style" defaultValue="rpc" />
skini@1210
    63
                <extensionAttr name="transport" defaultValue="http://schemas.xmlsoap.org/soap/http" />
skini@1210
    64
            </extensionElement>
skini@1210
    65
        </wsdlElement>
skini@1210
    66
        <wsdlElement name="BindingOperation">
skini@1210
    67
            <extensionElement name="operation" >
skini@1210
    68
            </extensionElement>
skini@1210
    69
        </wsdlElement>
skini@1210
    70
        <wsdlElement name="BindingOperationInput">
skini@1210
    71
            <extensionElement name="body" >
skini@1210
    72
                <extensionAttr name="use" defaultValue="literal" />
skini@1210
    73
                <extensionAttr name="parts"  />
skini@1210
    74
            </extensionElement>
skini@1210
    75
        </wsdlElement>
skini@1210
    76
        <wsdlElement name="BindingOperationOutput">
skini@1210
    77
            <extensionElement name="body" >
skini@1210
    78
                <extensionAttr name="use" defaultValue="literal" />
skini@1210
    79
                <extensionAttr name="parts"  />
skini@1210
    80
            </extensionElement>
skini@1210
    81
        </wsdlElement>
skini@1210
    82
skini@1210
    83
        <wsdlElement name="BindingOperationFault">
skini@1210
    84
            <extensionElement name="fault" >
skini@1210
    85
                <extensionAttr name="name"  />
skini@1210
    86
                <extensionAttr name="use" defaultValue="literal"  />
skini@1210
    87
            </extensionElement>
skini@1210
    88
        </wsdlElement>
skini@1210
    89
skini@1210
    90
        <wsdlElement name="ServicePort">
skini@1210
    91
            <extensionElement name="address" >
skini@1210
    92
                <extensionAttr name="location" required="true" defaultValue="http://localhost:${HttpDefaultPort}/service"/>
skini@1210
    93
            </extensionElement>
skini@1210
    94
        </wsdlElement>
skini@1210
    95
    </template>
skini@1210
    96
skini@1210
    97
    <template name="documentLiteral">
skini@1210
    98
        <wsdlElement name="Binding">
skini@1210
    99
            <extensionElement name="binding" >
skini@1210
   100
                <extensionAttr name="style" defaultValue="document" />
skini@1210
   101
                <extensionAttr name="transport" defaultValue="http://www.w3.org/2003/05/soap/bindings/HTTP/" />
skini@1210
   102
            </extensionElement>
skini@1210
   103
        </wsdlElement>
skini@1210
   104
        <wsdlElement name="BindingOperation">
skini@1210
   105
            <extensionElement name="operation" >
skini@1210
   106
            </extensionElement>
skini@1210
   107
        </wsdlElement>
skini@1210
   108
        <wsdlElement name="BindingOperationInput">
skini@1210
   109
            <extensionElement name="body" >
skini@1210
   110
                <extensionAttr name="use" defaultValue="literal" />
skini@1210
   111
            </extensionElement>
skini@1210
   112
        </wsdlElement>
skini@1210
   113
        <wsdlElement name="BindingOperationOutput">
skini@1210
   114
            <extensionElement name="body" >
skini@1210
   115
                <extensionAttr name="use" defaultValue="literal" />
skini@1210
   116
            </extensionElement>
skini@1210
   117
        </wsdlElement>
skini@1210
   118
skini@1210
   119
        <wsdlElement name="BindingOperationFault">
skini@1210
   120
            <extensionElement name="fault" >
skini@1210
   121
                <extensionAttr name="name"  />
skini@1210
   122
                <extensionAttr name="use" defaultValue="literal"  />
skini@1210
   123
            </extensionElement>
skini@1210
   124
        </wsdlElement>
skini@1210
   125
skini@1210
   126
        <wsdlElement name="ServicePort">
skini@1210
   127
            <extensionElement name="address" >
skini@1210
   128
                <extensionAttr name="location"  defaultValue="http://localhost:${HttpDefaultPort}/service"/>
skini@1210
   129
            </extensionElement>
skini@1210
   130
        </wsdlElement>
skini@1210
   131
    </template>
skini@1210
   132
skini@1210
   133
    <template name="rpcEncoded">
skini@1210
   134
        <!-- specify what can be inserted inside binding tag-->
skini@1210
   135
        <wsdlElement name="Binding">
skini@1210
   136
            <extensionElement name="binding" >
skini@1210
   137
                <extensionAttr name="style" defaultValue="rpc" />
skini@1210
   138
                <extensionAttr name="transport" defaultValue="http://www.w3.org/2003/05/soap/bindings/HTTP/" />
skini@1210
   139
            </extensionElement>
skini@1210
   140
        </wsdlElement>
skini@1210
   141
        <wsdlElement name="BindingOperation">
skini@1210
   142
            <extensionElement name="operation" >
skini@1210
   143
            </extensionElement>
skini@1210
   144
        </wsdlElement>
skini@1210
   145
        <wsdlElement name="BindingOperationInput">
skini@1210
   146
            <extensionElement name="body" >
skini@1210
   147
                <extensionAttr name="use" defaultValue="encoded" />
skini@1210
   148
                <extensionAttr name="namespace"  />
skini@1210
   149
                <extensionAttr name="encodingStyle" defaultValue="http://www.w3.org/2003/05/soap-encoding"  />
skini@1210
   150
            </extensionElement>
skini@1210
   151
        </wsdlElement>
skini@1210
   152
        <wsdlElement name="BindingOperationOutput">
skini@1210
   153
            <extensionElement name="body" >
skini@1210
   154
                <extensionAttr name="use" defaultValue="encoded" />
skini@1210
   155
                <extensionAttr name="namespace"  />
skini@1210
   156
                <extensionAttr name="encodingStyle" defaultValue="http://www.w3.org/2003/05/soap-encoding"  />
skini@1210
   157
            </extensionElement>
skini@1210
   158
        </wsdlElement>
skini@1210
   159
skini@1210
   160
        <wsdlElement name="BindingOperationFault">
skini@1210
   161
            <extensionElement name="fault" >
skini@1210
   162
                <extensionAttr name="name"  />
skini@1210
   163
                <extensionAttr name="use" defaultValue="encoded"  />
skini@1210
   164
                <extensionAttr name="namespace"  />
skini@1210
   165
                <extensionAttr name="encodingStyle" defaultValue="http://www.w3.org/2003/05/soap-encoding"  />
skini@1210
   166
            </extensionElement>
skini@1210
   167
        </wsdlElement>
skini@1210
   168
skini@1210
   169
        <wsdlElement name="ServicePort">
skini@1210
   170
            <extensionElement name="address" >
skini@1210
   171
                <extensionAttr name="location"  defaultValue="http://localhost:${HttpDefaultPort}/service"/>
skini@1210
   172
            </extensionElement>
skini@1210
   173
        </wsdlElement>
skini@1210
   174
    </template>
skini@1210
   175
</templateGroup>