abadea@61
|
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 |
-->
|
abadea@61
|
45 |
<definitions
|
abadea@61
|
46 |
xmlns:ns1="urn:WS/types"
|
abadea@61
|
47 |
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
abadea@61
|
48 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
abadea@61
|
49 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
abadea@61
|
50 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
abadea@61
|
51 |
|
abadea@61
|
52 |
<!-- Type definitions -->
|
abadea@61
|
53 |
<types>
|
abadea@61
|
54 |
<xsd:schema targetNamespace="urn:WS/types">
|
abadea@61
|
55 |
<!-- TODO: type XML schema elements and types here, e.g.: -->
|
abadea@61
|
56 |
<!--
|
abadea@61
|
57 |
<xsd:element name="id" type="xsd:string"/>
|
abadea@61
|
58 |
<xsd:element name="item" type="ns1:ItemType"/>
|
abadea@61
|
59 |
<xsd:complexType name="ItemType">
|
abadea@61
|
60 |
<xsd:sequence>
|
abadea@61
|
61 |
<xsd:element ref="ns1:id"/>
|
abadea@61
|
62 |
<xsd:element name="productName" type="xsd:string"/>
|
abadea@61
|
63 |
<xsd:element name="price" type="xsd:double"/>
|
abadea@61
|
64 |
<xsd:element name="quantity" type="xsd:integer"/>
|
abadea@61
|
65 |
</xsd:sequence>
|
abadea@61
|
66 |
</xsd:complexType>
|
abadea@61
|
67 |
<xsd:element name="error" type="xsd:string"/>
|
abadea@61
|
68 |
-->
|
abadea@61
|
69 |
</xsd:schema>
|
abadea@61
|
70 |
</types>
|
abadea@61
|
71 |
|
abadea@61
|
72 |
<!-- Message definitions -->
|
abadea@61
|
73 |
<!-- TODO: write one or more messages here, e.g.: -->
|
abadea@61
|
74 |
<!--
|
abadea@61
|
75 |
<message name ="#SERVICE_NAMERequest">
|
abadea@61
|
76 |
<part name="id" element="ns1:id"/>
|
abadea@61
|
77 |
</message>
|
abadea@61
|
78 |
|
abadea@61
|
79 |
<message name ="#SERVICE_NAMEResponse">
|
abadea@61
|
80 |
<part name="item" element="ns1:item"/>
|
abadea@61
|
81 |
</message>
|
abadea@61
|
82 |
|
abadea@61
|
83 |
<message name ="#SERVICE_NAMEError">
|
abadea@61
|
84 |
<part name="error" element="ns1:error"/>
|
abadea@61
|
85 |
</message>
|
abadea@61
|
86 |
-->
|
abadea@61
|
87 |
|
abadea@61
|
88 |
<!-- Port type definitions -->
|
abadea@61
|
89 |
<!-- TODO: write one or more port types here (usually just one), e.g.: -->
|
abadea@61
|
90 |
<!--
|
abadea@61
|
91 |
<portType name="#SERVICE_NAMEPortType">
|
abadea@61
|
92 |
<operation name="#SERVICE_NAMEOperation">
|
abadea@61
|
93 |
<input message="tns:#SERVICE_NAMERequest"/>
|
abadea@61
|
94 |
<output message="tns:#SERVICE_NAMEResponse"/>
|
abadea@61
|
95 |
<fault message="tns:#SERVICE_NAMEError" name="error"/>
|
abadea@61
|
96 |
</operation>
|
abadea@61
|
97 |
</portType>
|
abadea@61
|
98 |
-->
|
abadea@61
|
99 |
|
abadea@61
|
100 |
<!-- Binding definitions -->
|
abadea@61
|
101 |
<!-- TODO: write one or more bindings here (usually just one), e.g.: -->
|
abadea@61
|
102 |
<!--
|
abadea@61
|
103 |
<binding name="#SERVICE_NAMEBinding" type="tns:#SERVICE_NAMEPortType">
|
abadea@61
|
104 |
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
abadea@61
|
105 |
<operation name="#SERVICE_NAMEOperation">
|
abadea@61
|
106 |
<soap:operation soapAction="REPLACE_WITH_ACTION_URL"/>
|
abadea@61
|
107 |
<input>
|
abadea@61
|
108 |
<soap:body use="literal"/>
|
abadea@61
|
109 |
</input>
|
abadea@61
|
110 |
<output>
|
abadea@61
|
111 |
<soap:body use="literal"/>
|
abadea@61
|
112 |
</output>
|
abadea@61
|
113 |
<fault name="error">
|
abadea@61
|
114 |
<soap:fault name="error" use="literal"/>
|
abadea@61
|
115 |
</fault>
|
abadea@61
|
116 |
</operation>
|
abadea@61
|
117 |
</binding>
|
abadea@61
|
118 |
-->
|
abadea@61
|
119 |
|
abadea@61
|
120 |
<!-- Service and Port (network address) definitions -->
|
abadea@61
|
121 |
<!-- TODO: write one or more service elements here (usually just one), e.g.: -->
|
abadea@61
|
122 |
<!--
|
abadea@61
|
123 |
<service name="#SERVICE_NAMEService">
|
abadea@61
|
124 |
<port name="#SERVICE_NAMEPort" binding="tns:#SERVICE_NAMEBinding">
|
abadea@61
|
125 |
<soap:address location="REPLACE_WITH_ACTUAL_WEB_SERVICE_URL"/>
|
abadea@61
|
126 |
</port>
|
abadea@61
|
127 |
</service>
|
abadea@61
|
128 |
-->
|
abadea@61
|
129 |
|
abadea@61
|
130 |
</definitions>
|