summaryrefslogtreecommitdiff
path: root/ext/soap/tests/interop/Round4/GroupH/round4_groupH_soapfault.wsdl
blob: 4f49b8f1b2402e5380f28f6ee626b07cb54565b3 (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
<?xml version="1.0" encoding="UTF-8"?>
<definitions
	xmlns="http://schemas.xmlsoap.org/wsdl/"
	xmlns:tns="http://soapinterop.org/wsdl"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:ns2="http://soapinterop.org/types"
	targetNamespace="http://soapinterop.org/wsdl">

	<message name="echoVoidRequest"/>
	<message name="echoVoidResponse"/>
	<message name="HeaderRequest">
		<part name="param" type="xsd:string"/>
	</message>

	<portType name="SOAPFaultPortType">
		<operation name="echoVersionMismatchFault" parameterOrder="">
			<input message="tns:echoVoidRequest"/>
			<output message="tns:echoVoidResponse"/>
		</operation>

		<operation name="echoMustUnderstandFault" parameterOrder="">
			<input message="tns:echoVoidRequest"/>
			<output message="tns:echoVoidResponse"/>
		</operation>
	</portType>

	<binding name="SOAPFaultBinding" type="tns:SOAPFaultPortType">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
		<!--
			If the server receives an envelope with an incorrect
			namespace, then a fault with VersionMismatch fault code
			is populated in the SOAP response
		-->
		<operation name="echoVersionMismatchFault">
			<input>
				<soap:body
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
					use="encoded"
					namespace="http://soapinterop.org/wsdl"/>
			</input>
			<output>
				<soap:body
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
					use="encoded"
					namespace="http://soapinterop.org/wsdl"/>
			</output>
			<soap:operation soapAction=""/>
		</operation>

		<operation name="echoMustUnderstandFault">
			<input>
				<soap:body
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
					use="encoded"
					namespace="http://soapinterop.org/wsdl"/>
				<soap:header
					message="tns:HeaderRequest"
					part="param"
					use="encoded"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			</input>
			<output>
				<soap:body
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
					use="encoded"
					namespace="http://soapinterop.org/wsdl"/>
			</output>
			<soap:operation soapAction=""/>
		</operation>

	</binding>

	<service name="SOAPFaultService">
		<port name="SOAPFaultPort" binding="tns:SOAPFaultBinding">
			<soap:address location="test://"/>
		</port>
	</service>
</definitions>