xml.wsdlextui/src/org/netbeans/modules/xml/wsdlextui/template/template.xml
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 677 d6dd4d3e452b
permissions -rw-r--r--
Added Missing copyright information in source files
abadea@61
     1
<?xml version="1.0" encoding="UTF-8"?>
abadea@61
     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
<!--
samaresh@119
    46
    Document   : __NAME__
samaresh@119
    47
    Created on : __DATE__, __TIME__
samaresh@119
    48
    Author     : __USER__
abadea@61
    49
    Description:
abadea@61
    50
        Purpose of the document follows.
abadea@61
    51
-->
samaresh@119
    52
<templateGroup namespace="http://schemas.xmlsoap.org/wsdl/soap/"
abadea@61
    53
		xmlns="http://xml.netbeans.org/schema/templates"
abadea@61
    54
		xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"
samaresh@119
    55
        xsi:schemaLocation="http://xml.netbeans.org/schema/templates
abadea@61
    56
        templates.xsd" prefix="soap">
samaresh@119
    57
abadea@61
    58
    <template name="rpcLiteral" default="true">
abadea@61
    59
        <!-- specify what can be inserted inside binding tag-->
abadea@61
    60
        <wsdlElement name="Binding">
abadea@61
    61
            <extensionElement name="binding" >
abadea@61
    62
                <extensionAttr name="style" defaultValue="rpc" />
abadea@61
    63
                <extensionAttr name="transport" defaultValue="http://schemas.xmlsoap.org/soap/http" />
abadea@61
    64
            </extensionElement>
abadea@61
    65
        </wsdlElement>
abadea@61
    66
        <wsdlElement name="BindingOperation">
abadea@61
    67
            <extensionElement name="operation" >
abadea@61
    68
            </extensionElement>
abadea@61
    69
        </wsdlElement>
abadea@61
    70
        <wsdlElement name="BindingOperationInput">
abadea@61
    71
            <extensionElement name="body" >
abadea@61
    72
                <extensionAttr name="use" defaultValue="literal" />
abadea@61
    73
                <extensionAttr name="parts"  />
abadea@61
    74
            </extensionElement>
abadea@61
    75
        </wsdlElement>
abadea@61
    76
        <wsdlElement name="BindingOperationOutput">
abadea@61
    77
            <extensionElement name="body" >
abadea@61
    78
                <extensionAttr name="use" defaultValue="literal" />
abadea@61
    79
                <extensionAttr name="parts"  />
abadea@61
    80
            </extensionElement>
abadea@61
    81
        </wsdlElement>
samaresh@119
    82
abadea@61
    83
        <wsdlElement name="BindingOperationFault">
abadea@61
    84
            <extensionElement name="fault" >
abadea@61
    85
                <extensionAttr name="name"  />
abadea@61
    86
                <extensionAttr name="use" defaultValue="literal"  />
abadea@61
    87
            </extensionElement>
abadea@61
    88
        </wsdlElement>
samaresh@119
    89
abadea@61
    90
        <wsdlElement name="ServicePort">
abadea@61
    91
            <extensionElement name="address" >
nang@677
    92
                <extensionAttr name="location" required="true" defaultValue="http://localhost:${HttpDefaultPort}/service"/>
abadea@61
    93
            </extensionElement>
abadea@61
    94
        </wsdlElement>
abadea@61
    95
    </template>
samaresh@119
    96
abadea@61
    97
    <template name="documentLiteral">
abadea@61
    98
        <wsdlElement name="Binding">
abadea@61
    99
            <extensionElement name="binding" >
abadea@61
   100
                <extensionAttr name="style" defaultValue="document" />
abadea@61
   101
                <extensionAttr name="transport" defaultValue="http://schemas.xmlsoap.org/soap/http" />
abadea@61
   102
            </extensionElement>
abadea@61
   103
        </wsdlElement>
abadea@61
   104
        <wsdlElement name="BindingOperation">
abadea@61
   105
            <extensionElement name="operation" >
abadea@61
   106
            </extensionElement>
abadea@61
   107
        </wsdlElement>
abadea@61
   108
        <wsdlElement name="BindingOperationInput">
abadea@61
   109
            <extensionElement name="body" >
abadea@61
   110
                <extensionAttr name="use" defaultValue="literal" />
abadea@61
   111
            </extensionElement>
abadea@61
   112
        </wsdlElement>
abadea@61
   113
        <wsdlElement name="BindingOperationOutput">
abadea@61
   114
            <extensionElement name="body" >
abadea@61
   115
                <extensionAttr name="use" defaultValue="literal" />
abadea@61
   116
            </extensionElement>
abadea@61
   117
        </wsdlElement>
samaresh@119
   118
abadea@61
   119
        <wsdlElement name="BindingOperationFault">
abadea@61
   120
            <extensionElement name="fault" >
abadea@61
   121
                <extensionAttr name="name"  />
abadea@61
   122
                <extensionAttr name="use" defaultValue="literal"  />
abadea@61
   123
            </extensionElement>
abadea@61
   124
        </wsdlElement>
samaresh@119
   125
abadea@61
   126
        <wsdlElement name="ServicePort">
abadea@61
   127
            <extensionElement name="address" >
nang@677
   128
                <extensionAttr name="location"  defaultValue="http://localhost:${HttpDefaultPort}/service"/>
abadea@61
   129
            </extensionElement>
abadea@61
   130
        </wsdlElement>
abadea@61
   131
    </template>
samaresh@119
   132
abadea@61
   133
    <template name="rpcEncoded">
abadea@61
   134
        <!-- specify what can be inserted inside binding tag-->
abadea@61
   135
        <wsdlElement name="Binding">
abadea@61
   136
            <extensionElement name="binding" >
abadea@61
   137
                <extensionAttr name="style" defaultValue="rpc" />
abadea@61
   138
                <extensionAttr name="transport" defaultValue="http://schemas.xmlsoap.org/soap/http" />
abadea@61
   139
            </extensionElement>
abadea@61
   140
        </wsdlElement>
abadea@61
   141
        <wsdlElement name="BindingOperation">
abadea@61
   142
            <extensionElement name="operation" >
abadea@61
   143
            </extensionElement>
abadea@61
   144
        </wsdlElement>
abadea@61
   145
        <wsdlElement name="BindingOperationInput">
abadea@61
   146
            <extensionElement name="body" >
abadea@61
   147
                <extensionAttr name="use" defaultValue="encoded" />
abadea@61
   148
                <extensionAttr name="namespace"  />
abadea@61
   149
                <extensionAttr name="encodingStyle" defaultValue="http://schemas.xmlsoap.org/soap/encoding/"  />
abadea@61
   150
            </extensionElement>
abadea@61
   151
        </wsdlElement>
abadea@61
   152
        <wsdlElement name="BindingOperationOutput">
abadea@61
   153
            <extensionElement name="body" >
abadea@61
   154
                <extensionAttr name="use" defaultValue="encoded" />
abadea@61
   155
                <extensionAttr name="namespace"  />
abadea@61
   156
                <extensionAttr name="encodingStyle" defaultValue="http://schemas.xmlsoap.org/soap/encoding/"  />
abadea@61
   157
            </extensionElement>
abadea@61
   158
        </wsdlElement>
samaresh@119
   159
abadea@61
   160
        <wsdlElement name="BindingOperationFault">
abadea@61
   161
            <extensionElement name="fault" >
abadea@61
   162
                <extensionAttr name="name"  />
abadea@61
   163
                <extensionAttr name="use" defaultValue="encoded"  />
abadea@61
   164
                <extensionAttr name="namespace"  />
abadea@61
   165
                <extensionAttr name="encodingStyle" defaultValue="http://schemas.xmlsoap.org/soap/encoding/"  />
abadea@61
   166
            </extensionElement>
abadea@61
   167
        </wsdlElement>
samaresh@119
   168
abadea@61
   169
        <wsdlElement name="ServicePort">
abadea@61
   170
            <extensionElement name="address" >
nang@677
   171
                <extensionAttr name="location"  defaultValue="http://localhost:${HttpDefaultPort}/service"/>
abadea@61
   172
            </extensionElement>
abadea@61
   173
        </wsdlElement>
abadea@61
   174
    </template>
abadea@61
   175
</templateGroup>