summaryrefslogtreecommitdiffstats
path: root/tags/java/sca/1.5.1/itest/wsdlgen/src/main/resources/wsdl/helloworld.wsdl
blob: c76ed7b3383fbcfb4e21e48a16ea699867641a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<?xml version="1.0" encoding="UTF-8"?>
    <!--
        * Licensed to the Apache Software Foundation (ASF) under one *
        or more contributor license agreements. See the NOTICE file *
        distributed with this work for additional information *
        regarding copyright ownership. The ASF licenses this file * to
        you under the Apache License, Version 2.0 (the * "License"); you
        may not use this file except in compliance * with the License.
        You may obtain a copy of the License at * *
        http://www.apache.org/licenses/LICENSE-2.0 * * Unless required
        by applicable law or agreed to in writing, * software
        distributed under the License is distributed on an * "AS IS"
        BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either
        express or implied. See the License for the * specific language
        governing permissions and limitations * under the License.
    -->
<wsdl:definitions name="HelloWorldServiceService"
    targetNamespace="http://helloworld/" 
    xmlns:tns="http://helloworld/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:SOAP11="http://schemas.xmlsoap.org/wsdl/soap/">
    <wsdl:types>
        <xs:schema targetNamespace="http://test" version="1.0"
            xmlns:tns="http://test" xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:complexType name="aBean">
                <xs:sequence>
                    <xs:element minOccurs="0" name="field1"
                        type="xs:string" />
                    <xs:element minOccurs="0" name="field2"
                        type="xs:string" />
                </xs:sequence>
            </xs:complexType>
            <xs:complexType final="#all" name="aBeanArray">
                <xs:sequence>
                    <xs:element maxOccurs="unbounded"
                        minOccurs="0" name="item" nillable="true" type="tns:aBean" />
                </xs:sequence>
            </xs:complexType>
        </xs:schema>
        <xs:schema attributeFormDefault="qualified"
            elementFormDefault="unqualified" targetNamespace="http://helloworld/"
            xmlns:ns0="http://test" xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:import namespace="http://test" />
            <xs:element name="getGreetingsBean">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="arg0"
                            nillable="true" type="ns0:aBean" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getGreetings">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="arg0"
                            nillable="true" type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getGreetingsResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return"
                            nillable="true" type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getGreetingsBeanResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return"
                            nillable="true" type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getGreetingsBeanArrayResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return"
                            nillable="true" type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getGreetingsBeanArray">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element maxOccurs="unbounded"
                            minOccurs="0" name="arg0" nillable="true"
                            type="ns0:aBean" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="getGreetingsBean">
        <wsdl:part name="getGreetingsBean" element="tns:getGreetingsBean">
        </wsdl:part>
    </wsdl:message>
    <wsdl:message name="getGreetings">
        <wsdl:part name="getGreetings" element="tns:getGreetings">
        </wsdl:part>
    </wsdl:message>
    <wsdl:message name="getGreetingsResponse">
        <wsdl:part name="getGreetingsResponse" element="tns:getGreetingsResponse">
        </wsdl:part>
    </wsdl:message>
    <wsdl:message name="getGreetingsBeanResponse">
        <wsdl:part name="getGreetingsBeanResponse" element="tns:getGreetingsBeanResponse">
        </wsdl:part>
    </wsdl:message>
    <wsdl:message name="getGreetingsBeanArrayResponse">
        <wsdl:part name="getGreetingsBeanArrayResponse"
            element="tns:getGreetingsBeanArrayResponse">
        </wsdl:part>
    </wsdl:message>
    <wsdl:message name="getGreetingsBeanArray">
        <wsdl:part name="getGreetingsBeanArray" element="tns:getGreetingsBeanArray">
        </wsdl:part>
    </wsdl:message>
    <wsdl:portType name="HelloWorldService">
        <wsdl:operation name="getGreetings">
            <wsdl:input message="tns:getGreetings">
            </wsdl:input>
            <wsdl:output message="tns:getGreetingsResponse">
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getGreetingsBean">
            <wsdl:input message="tns:getGreetingsBean">
            </wsdl:input>
            <wsdl:output message="tns:getGreetingsBeanResponse">
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getGreetingsBeanArray">
            <wsdl:input message="tns:getGreetingsBeanArray">
            </wsdl:input>
            <wsdl:output message="tns:getGreetingsBeanArrayResponse">
            </wsdl:output>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldJmsBinding" type="tns:HelloWorldService">
        <SOAP:binding style="document"
            transport="http://schemas.xmlsoap.org/soap/jms" />
        <wsdl:operation name="getGreetings">
            <SOAP:operation soapAction="urn:getGreetings" />
            <wsdl:input>
                <SOAP:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <SOAP:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getGreetingsBean">
            <SOAP:operation soapAction="urn:getGreetingsBean" />
            <wsdl:input>
                <SOAP:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <SOAP:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getGreetingsBeanArray">
            <SOAP:operation soapAction="urn:getGreetingsBeanArray" />
            <wsdl:input>
                <SOAP:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <SOAP:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="HelloWorldWSBinding" type="tns:HelloWorldService">
        <SOAP:binding style="document"
            transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="getGreetings">
            <SOAP:operation />
            <wsdl:input>
                <SOAP:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <SOAP:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getGreetingsBean">
            <SOAP:operation />
            <wsdl:input>
                <SOAP:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <SOAP:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getGreetingsBeanArray">
            <SOAP:operation />
            <wsdl:input>
                <SOAP:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <SOAP:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
        <wsdl:port name="HelloWorldJmsPort" binding="tns:HelloWorldJmsBinding">
            <SOAP:address
                location="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:51293" />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>