c.gestalt.netbeans.modules.wsdlextensions.sip/src/com/gestalt/netbeans/modules/wsdlextensions/sip/SIPWsdlExt.xsd
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 1552 20a680f51ee9
permissions -rw-r--r--
Added Missing copyright information in source files
cgallemore@1521
     1
<?xml version="1.0" encoding="UTF-8"?>
mkristofic@1583
     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
-->
cgallemore@1521
    45
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
cgallemore@1521
    46
           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
cgallemore@1521
    47
           xmlns:sip="http://schemas.sun.com/jbi/wsdl-extensions/sip/" 
cgallemore@1521
    48
           targetNamespace="http://schemas.sun.com/jbi/wsdl-extensions/sip/">
cgallemore@1521
    49
    <xs:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
cgallemore@1521
    50
    <xs:element name="binding" type="sip:tBinding">
cgallemore@1521
    51
        <xs:annotation>
skini@1552
    52
            <xs:documentation>DESC_Element_binding</xs:documentation>
cgallemore@1521
    53
        </xs:annotation>
cgallemore@1521
    54
    </xs:element>
cgallemore@1521
    55
    <xs:complexType name="tBinding">
cgallemore@1521
    56
        <xs:complexContent>
cgallemore@1521
    57
            <xs:extension base="wsdl:tExtensibilityElement"/>
cgallemore@1521
    58
            <!-- could add more attributes to the binding -->
cgallemore@1521
    59
        </xs:complexContent>
cgallemore@1521
    60
    </xs:complexType>
cgallemore@1521
    61
    <xs:element name="operation" type="sip:tOperation"/>
cgallemore@1521
    62
    <xs:complexType name="tOperation">
cgallemore@1521
    63
        <xs:annotation>
skini@1552
    64
            <xs:documentation>DESC_ComplexType_tOperation</xs:documentation>
cgallemore@1521
    65
        </xs:annotation>
cgallemore@1521
    66
        <xs:complexContent>
cgallemore@1521
    67
            <xs:extension base="wsdl:tExtensibilityElement">
jlorenzen@1543
    68
                <xs:attribute name="name" type="sip:operationName" use="required">
jlorenzen@1543
    69
                    <xs:annotation>
skini@1552
    70
                        <xs:documentation>DESC_Attribute_name</xs:documentation>
jlorenzen@1543
    71
                    </xs:annotation>
jlorenzen@1543
    72
                </xs:attribute>
cgallemore@1521
    73
            </xs:extension>
cgallemore@1521
    74
        </xs:complexContent>
cgallemore@1521
    75
    </xs:complexType>
jlorenzen@1543
    76
    <xs:simpleType name="operationName">
jlorenzen@1543
    77
        <xs:restriction base="xs:string">
jlorenzen@1543
    78
                <xs:enumeration value="sendRequest"/>
jlorenzen@1543
    79
                <xs:enumeration value="sendResponse"/>
jlorenzen@1543
    80
                <xs:enumeration value="receiveRequest"/>
jlorenzen@1543
    81
                <xs:enumeration value="receiveResponse"/>
jlorenzen@1543
    82
        </xs:restriction>
jlorenzen@1543
    83
    </xs:simpleType>       
cgallemore@1521
    84
    <xs:element name="address" type="sip:tAddress">
cgallemore@1521
    85
        <xs:annotation>
skini@1552
    86
            <xs:documentation>DESC_Element_address</xs:documentation>
cgallemore@1521
    87
        </xs:annotation>
cgallemore@1521
    88
    </xs:element>
cgallemore@1521
    89
    <xs:complexType name="tAddress">
cgallemore@1521
    90
        <xs:complexContent>
cgallemore@1521
    91
            <xs:extension base="wsdl:tExtensibilityElement">
jlorenzen@1543
    92
                <xs:attribute name="proxyDomain" type="xs:string" use="required">
jlorenzen@1543
    93
                    <xs:annotation>
skini@1552
    94
                        <xs:documentation>DESC_Attribute_proxyDomain</xs:documentation>
jlorenzen@1543
    95
                    </xs:annotation>
jlorenzen@1543
    96
                </xs:attribute>
jlorenzen@1543
    97
                <xs:attribute name="proxyPort" type="xs:string" use="required">
jlorenzen@1543
    98
                    <xs:annotation>
skini@1552
    99
                        <xs:documentation>DESC_Attribute_proxyPort</xs:documentation>
jlorenzen@1543
   100
                    </xs:annotation>
jlorenzen@1543
   101
                </xs:attribute>
jlorenzen@1543
   102
                <xs:attribute name="proxyTimeout" type="xs:string" use="required">
jlorenzen@1543
   103
                    <xs:annotation>
skini@1552
   104
                        <xs:documentation>DESC_Attribute_proxyTimeout</xs:documentation>
jlorenzen@1543
   105
                    </xs:annotation>
jlorenzen@1543
   106
                </xs:attribute>
jlorenzen@1543
   107
                <xs:attribute name="username" type="xs:string">
jlorenzen@1543
   108
                    <xs:annotation>
skini@1552
   109
                        <xs:documentation>DESC_Attribute_username</xs:documentation>
jlorenzen@1543
   110
                    </xs:annotation>
jlorenzen@1543
   111
                </xs:attribute>
jlorenzen@1543
   112
                <xs:attribute name="password" type="xs:string">
jlorenzen@1543
   113
                    <xs:annotation>
skini@1552
   114
                        <xs:documentation>DESC_Attribute_password</xs:documentation>
jlorenzen@1543
   115
                    </xs:annotation>
jlorenzen@1543
   116
                </xs:attribute>
jlorenzen@1543
   117
            </xs:extension>
jlorenzen@1543
   118
        </xs:complexContent>
jlorenzen@1543
   119
    </xs:complexType>
jlorenzen@1543
   120
    <xs:element name="input" type="sip:tInput">
jlorenzen@1543
   121
        <xs:annotation>
skini@1552
   122
            <xs:documentation>DESC_Element_input</xs:documentation>
jlorenzen@1543
   123
            <xs:appinfo>
jlorenzen@1543
   124
                <prop:ElementProperties  xmlns:prop="http://xml.netbeans.org/schema/wsdlui/property">
jlorenzen@1543
   125
                    <prop:Property attributeName="requestMethod" propertyOrder="1">
jlorenzen@1543
   126
                        <prop:BuiltInCustomizer>
jlorenzen@1543
   127
                            <prop:SimpleCustomizer name="PartChooser"/>
jlorenzen@1543
   128
                        </prop:BuiltInCustomizer>
jlorenzen@1543
   129
                    </prop:Property>
jlorenzen@1543
   130
                    <prop:Property attributeName="responseMethod"  propertyOrder="2">
jlorenzen@1543
   131
                        <prop:BuiltInCustomizer>
jlorenzen@1543
   132
                            <prop:SimpleCustomizer name="PartChooser"/>
jlorenzen@1543
   133
                        </prop:BuiltInCustomizer>
jlorenzen@1543
   134
                    </prop:Property>
jlorenzen@1543
   135
                    <prop:Property attributeName="responseStatus" propertyOrder="3">
jlorenzen@1543
   136
                        <prop:BuiltInCustomizer>
jlorenzen@1543
   137
                            <prop:SimpleCustomizer name="PartChooser"/>
jlorenzen@1543
   138
                        </prop:BuiltInCustomizer>
jlorenzen@1543
   139
                    </prop:Property>
jlorenzen@1543
   140
                    <prop:Property attributeName="content" propertyOrder="4">
jlorenzen@1543
   141
                        <prop:BuiltInCustomizer>
jlorenzen@1543
   142
                            <prop:SimpleCustomizer name="PartChooser"/>
jlorenzen@1543
   143
                        </prop:BuiltInCustomizer>
jlorenzen@1543
   144
                    </prop:Property>
jlorenzen@1543
   145
                    <prop:Property attributeName="remoteUri" propertyOrder="5">
jlorenzen@1543
   146
                        <prop:BuiltInCustomizer>
jlorenzen@1543
   147
                            <prop:SimpleCustomizer name="PartChooser"/>
jlorenzen@1543
   148
                        </prop:BuiltInCustomizer>
jlorenzen@1543
   149
                    </prop:Property>
jlorenzen@1543
   150
                </prop:ElementProperties>
jlorenzen@1543
   151
            </xs:appinfo>
jlorenzen@1543
   152
        </xs:annotation>
jlorenzen@1543
   153
    </xs:element>
jlorenzen@1543
   154
    <xs:complexType name="tInput">
jlorenzen@1543
   155
        <xs:annotation>
skini@1552
   156
            <xs:documentation>DESC_ComplexType_tInput</xs:documentation>
jlorenzen@1543
   157
        </xs:annotation>
jlorenzen@1543
   158
        <xs:complexContent>
jlorenzen@1543
   159
            <xs:extension base="wsdl:tExtensibilityElement">
jlorenzen@1543
   160
                <xs:attribute name="requestMethod" type="xs:string" use="optional">
jlorenzen@1543
   161
                    <xs:annotation>
skini@1552
   162
                        <xs:documentation>DESC_Attribute_requestMethod</xs:documentation>
jlorenzen@1543
   163
                    </xs:annotation>
jlorenzen@1543
   164
                </xs:attribute>
jlorenzen@1543
   165
                <xs:attribute name="responseMethod" type="xs:string" use="optional">
jlorenzen@1543
   166
                    <xs:annotation>
skini@1552
   167
                        <xs:documentation>DESC_Attribute_responseMethod</xs:documentation>
jlorenzen@1543
   168
                    </xs:annotation>
jlorenzen@1543
   169
                </xs:attribute>
jlorenzen@1543
   170
                <xs:attribute name="responseStatus" type="xs:int" use="optional">
jlorenzen@1543
   171
                    <xs:annotation>
skini@1552
   172
                        <xs:documentation>DESC_Attribute_responseStatus</xs:documentation>
jlorenzen@1543
   173
                    </xs:annotation>
jlorenzen@1543
   174
                </xs:attribute>
jlorenzen@1543
   175
                <xs:attribute name="content" type="xs:string" use="optional">
jlorenzen@1543
   176
                    <xs:annotation>
skini@1552
   177
                        <xs:documentation>DESC_Attribute_content</xs:documentation>
jlorenzen@1543
   178
                    </xs:annotation>
jlorenzen@1543
   179
                </xs:attribute>
jlorenzen@1543
   180
                <xs:attribute name="remoteUri" type="xs:string" use="optional">
jlorenzen@1543
   181
                    <xs:annotation>
skini@1552
   182
                        <xs:documentation>DESC_Attribute_remoteUri</xs:documentation>
jlorenzen@1543
   183
                    </xs:annotation>
jlorenzen@1543
   184
                </xs:attribute>
cgallemore@1521
   185
            </xs:extension>
cgallemore@1521
   186
        </xs:complexContent>
cgallemore@1521
   187
    </xs:complexType>
cgallemore@1521
   188
</xs:schema>