xref: /PHP-8.3/ext/soap/tests/bugs/bug41004.wsdl (revision b15bfb91)
1<?xml version="1.0" encoding="UTF-8"?>
2<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
3	xmlns:tns="urn:Formation" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
4	xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Formation"
5	targetNamespace="urn:Formation">
6	<wsdl:types>
7		<xsd:schema targetNamespace="urn:Formation">
8			<xsd:element name="echo">
9				<xsd:complexType>
10					<xsd:sequence>
11						<xsd:element name="in" type="tns:EchoBean"></xsd:element>
12					</xsd:sequence>
13				</xsd:complexType>
14			</xsd:element>
15			<xsd:element name="echoResponse">
16				<xsd:complexType>
17					<xsd:sequence>
18						<xsd:element name="out" type="tns:EchoBean"></xsd:element>
19					</xsd:sequence>
20				</xsd:complexType>
21			</xsd:element>
22			<xsd:simpleType name="Product1Type">
23				<xsd:restriction base="xsd:string">
24					<xsd:enumeration value="REV"></xsd:enumeration>
25					<xsd:enumeration value="CLA"></xsd:enumeration>
26				</xsd:restriction>
27			</xsd:simpleType>
28
29			<xsd:complexType name="EchoBean">
30				<xsd:sequence>
31					<xsd:element name="mandatoryElement"
32						type="tns:Product1Type">
33					</xsd:element>
34					<xsd:element name="optionalElement"
35						type="tns:Product1Type" maxOccurs="1" minOccurs="0">
36					</xsd:element>
37				</xsd:sequence>
38			</xsd:complexType>
39		</xsd:schema>
40	</wsdl:types>
41	<wsdl:message name="echoRequest">
42		<wsdl:part name="parameters" element="tns:echo"></wsdl:part>
43	</wsdl:message>
44	<wsdl:message name="echoResponse">
45		<wsdl:part name="parameters" element="tns:echoResponse"></wsdl:part>
46	</wsdl:message>
47	<wsdl:portType name="Formation">
48		<wsdl:operation name="echo">
49			<wsdl:input message="tns:echoRequest"></wsdl:input>
50			<wsdl:output message="tns:echoResponse"></wsdl:output>
51		</wsdl:operation>
52	</wsdl:portType>
53	<wsdl:binding name="FormationServiceV1" type="tns:Formation">
54		<soap:binding style="document"
55			transport="http://schemas.xmlsoap.org/soap/http" />
56		<wsdl:operation name="echo">
57			<soap:operation soapAction="urn:Formation/echo" />
58			<wsdl:input>
59				<soap:body use="literal" />
60			</wsdl:input>
61			<wsdl:output>
62				<soap:body use="literal" />
63			</wsdl:output>
64		</wsdl:operation>
65	</wsdl:binding>
66	<wsdl:service name="Formation">
67		<wsdl:port binding="tns:FormationServiceV1"
68			name="FormationSOAP">
69			<soap:address
70				location="http://localhost:8080/webapp/services/FormationServiceV1" />
71		</wsdl:port>
72	</wsdl:service>
73</wsdl:definitions>
74