-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdneonline.com.wsdlv2_defaultNS_xsd_NSPrefix.wsdl
137 lines (126 loc) · 5.94 KB
/
dneonline.com.wsdlv2_defaultNS_xsd_NSPrefix.wsdl
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
<?xml version="1.0" encoding="utf-8" ?>
<!-- WSDL v2 with <description> tag -->
<!-- 'wsdl' Namespace is the default Namespace and there is no prefix => xmlns ="http://www.w3.org/ns/wsdl" -->
<!-- 'xsd' Namespace has a prefix (xs) => xmlns:xs="http://www.w3.org/2001/XMLSchema"> -->
<!-- Add has 'wsam:Action="http://tempuri.org/Add"' -->
<!-- Subtract has no 'wsam:Action' -->
<!-- Multiply has 'wsam:Action' and invalid pattern URL -->
<description
xmlns= "http://www.w3.org/ns/wsdl"
targetNamespace= "http://tempuri.org/"
xmlns:tns= "http://tempuri.org/"
xmlns:wsoap= "http://www.w3.org/ns/wsdl/soap"
xmlns:soap= "http://www.w3.org/2003/05/soap-envelope"
xmlns:wsdlx= "http://www.w3.org/ns/wsdl-extensions"
xmlns:xs= "http://www.w3.org/2001/XMLSchema"
xmlns:wsam= "http://www.w3.org/2007/05/addressing/metadata">
<documentation>
This is the web service documentation.
</documentation>
<types>
<xs:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<xs:element name="Add" type="typeAdd" xmlns="http://tempuri.org/"/>
<xs:complexType name="typeAdd">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="intA" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="intB" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="AddResponse" type="typeAddResponse" xmlns="http://tempuri.org/"/>
<xs:complexType name="typeAddResponse">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="AddResult" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="Subtract" type="typeSubtract" xmlns="http://tempuri.org/"/>
<xs:complexType name="typeSubtract">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="intA" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="intB" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="SubtractResponse" type="typeSubtractResponse" xmlns="http://tempuri.org/"/>
<xs:complexType name="typeSubtractResponse">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="SubtractResult" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="Multiply" type="typeSubtract" xmlns="http://tempuri.org/"/>
<xs:complexType name="typeMultiply">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="intA" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="intB" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="MultiplyResponse" type="typeMultiplyResponse" xmlns="http://tempuri.org/"/>
<xs:complexType name="typeMultiplyResponse">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="MultiplyResult" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<interface name = "AddInterface" >
<fault name = "invalidAddFault" element = "tns:invalidAddError"/>
<operation name="Add"
pattern="http://www.w3.org/ns/wsdl/in-out"
style="http://www.w3.org/ns/wsdl/style/iri"
wsdlx:safe = "true">
<input messageLabel="In" element="tns:AddSoapIn" wsam:Action="http://tempuri.org/Add"/>
<output messageLabel="Out" element="tns:AddSoapOut" wsam:Action="http://tempuri.org/AddResponse"/>
<outfault messageLabel="Out" ref ="tns:invalidAddFault" />
</operation>
</interface>
<interface name = "SubtractInterface" >
<fault name = "invalidSubtractFault" element = "tns:invalidSubtractError"/>
<operation name="Subtract"
pattern="http://www.w3.org/ns/wsdl/in-out"
style="http://www.w3.org/ns/wsdl/style/iri"
wsdlx:safe = "true">
<input messageLabel="In" element="tns:SubtractSoapIn"/>
<output messageLabel="Out" element="tns:SubtractSoapOut"/>
<outfault messageLabel="Out" ref ="tns:invalidSubtractFault" />
</operation>
</interface>
<interface name = "MultiplyInterface" >
<fault name = "invalidMultiplyFault" element = "tns:invalidMultiplyError"/>
<operation name="Multiply"
pattern="http://www.w3.org/ns/wsdl/in-out-INVALID-URL-FOR-TEST-ONLY"
style="http://www.w3.org/ns/wsdl/style/iri"
wsdlx:safe = "true">
<input messageLabel="In" element="tns:MultiplySoapIn"/>
<output messageLabel="Out" element="tns:MultiplySoapOut"/>
<outfault messageLabel="Out" ref ="tns:invalidMultiplyFault" />
</operation>
</interface>
<binding name="AddSOAPBinding"
interface="tns:AddInterface"
type="http://www.w3.org/ns/wsdl/soap"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<fault ref="tns:invalidAddFault" wsoap:code="soap:Sender"/>
<operation ref="tns:Add"
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"/>
</binding>
<binding name="SubtractSOAPBinding"
interface="tns:SubtractInterface"
type="http://www.w3.org/ns/wsdl/soap"
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
<fault ref="tns:invalidSubtractFault" wsoap:code="soap:Sender"/>
<operation ref="tns:Subtract"
wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"/>
</binding>
<service
name ="AddCalculatorService"
interface="tns:AddInterface">
<endpoint name ="AddCalculatorEndpoint"
binding ="tns:AddSOAPBinding"
address ="http://localhost:8080/ws"/>
</service>
<service
name ="SubtractCalculatorService"
interface="tns:SubtractInterface">
<endpoint name ="SubtractCalculatorEndpoint"
binding ="tns:SubtractSOAPBinding"
address ="http://localhost:8080/ws"/>
</service>
</description>