xml.wsdl.refactoring/test/unit/src/org/netbeans/modules/xml/wsdl/refactoring/resources/stockquote.wsdl
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 61 fa682b5ee7cc
permissions -rw-r--r--
Added Missing copyright information in source files
abadea@61
     1
<?xml version="1.0"?>
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
-->
abadea@61
    45
<definitions name="StockQuote"
abadea@61
    46
        targetNamespace="http://example.com/stockquote.wsdl"
abadea@61
    47
        xmlns:tns="http://example.com/stockquote.wsdl"
abadea@61
    48
        xmlns:xsd1="http://example.com/stockquote.xsd"
abadea@61
    49
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
abadea@61
    50
        xmlns="http://schemas.xmlsoap.org/wsdl/">
abadea@61
    51
    <documentation>Hello World!</documentation>
abadea@61
    52
   <types>
abadea@61
    53
       <schema targetNamespace="http://example.com/stockquote.xsd"
abadea@61
    54
              xmlns="http://www.w3.org/2001/XMLSchema">
abadea@61
    55
           <element name="TradePriceRequest">
abadea@61
    56
              <complexType>
abadea@61
    57
                  <all>
abadea@61
    58
                      <element name="tickerSymbol" type="string"/>
abadea@61
    59
                  </all>
abadea@61
    60
              </complexType>
abadea@61
    61
           </element>
abadea@61
    62
           <element name="TradePrice">
abadea@61
    63
              <complexType>
abadea@61
    64
                  <all>
abadea@61
    65
                      <element name="price" type="float"/>
abadea@61
    66
                  </all>
abadea@61
    67
              </complexType>
abadea@61
    68
           </element>
abadea@61
    69
       </schema>
abadea@61
    70
    </types>
abadea@61
    71
abadea@61
    72
    <message name="GetLastTradePriceInput">
abadea@61
    73
        <part name="body" element="xsd1:TradePriceRequest"/>
abadea@61
    74
    </message>
abadea@61
    75
abadea@61
    76
    <message name="GetLastTradePriceOutput">
abadea@61
    77
        <part name="body" element="xsd1:TradePrice"/>
abadea@61
    78
    </message>
abadea@61
    79
abadea@61
    80
    <portType name="StockQuotePortType">
abadea@61
    81
        <operation name="GetLastTradePrice">
abadea@61
    82
           <input message="tns:GetLastTradePriceInput"/>
abadea@61
    83
           <output message="tns:GetLastTradePriceOutput"/>
abadea@61
    84
        </operation>
abadea@61
    85
    </portType>
abadea@61
    86
abadea@61
    87
    <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">
abadea@61
    88
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
abadea@61
    89
        <operation name="GetLastTradePrice">
abadea@61
    90
           <soap:operation soapAction="http://example.com/GetLastTradePrice"/>
abadea@61
    91
           <input>
abadea@61
    92
               <soap:body use="literal"/>
abadea@61
    93
               <soap:header message="tns:GetLastTradePriceInput" part="requestheader" use="literal"/>
abadea@61
    94
           </input>
abadea@61
    95
           <output>
abadea@61
    96
               <soap:body use="literal"/>
abadea@61
    97
           </output>
abadea@61
    98
        </operation>
abadea@61
    99
    </binding>
abadea@61
   100
abadea@61
   101
    <service name="StockQuoteService">
abadea@61
   102
        <documentation>My first service</documentation>
abadea@61
   103
        <port name="StockQuotePort" binding="tns:StockQuoteBinding">
abadea@61
   104
           <soap:address location="http://example.com/stockquote"/>
abadea@61
   105
        </port>
abadea@61
   106
    </service>
abadea@61
   107
abadea@61
   108
</definitions>
abadea@61
   109