blob: 7839d3ea71f426da96fbe4ad7ef8d67b269dcbc9 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
*
* Licensed 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 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.example.org/Test/DocLitWrapped"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Test"
targetNamespace="http://www.example.org/Test/DocLitWrapped">
<wsdl:types>
<xsd:schema targetNamespace="http://www.example.org/Test/DocLitWrapped"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.example.org/Test/DocLitWrapped">
<xsd:element name="indexOf">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="source" type="xsd:string"/>
<xsd:element name="target" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="indexOfResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="index" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="exception" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="testRequest">
<wsdl:part element="tns:indexOf" name="part1"/>
</wsdl:message>
<wsdl:message name="testResponse">
<wsdl:part element="tns:indexOfResponse" name="part1"/>
</wsdl:message>
<wsdl:message name="testFault">
<wsdl:part name="testFault" element="tns:exception"></wsdl:part>
</wsdl:message>
<wsdl:portType name="Test">
<wsdl:operation name="indexOf">
<wsdl:input name="input" message="tns:testRequest"/>
<wsdl:output name="output" message="tns:testResponse"/>
<wsdl:fault name="fault" message="tns:testFault"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="TestSOAP" type="tns:Test">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="indexOf">
<soap:operation
soapAction="http://www.example.org/Test/indexOf"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soap:fault namespace="http://www.example.org/Test/"
use="literal" name="fault"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="Test">
<wsdl:port binding="tns:TestSOAP" name="TestSOAP">
<soap:address
location="http://localhost:8080/TestWebServiceMediator/services/Test"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
|