-- XML schema extracted from ITU-T X.783 (07/2014)


 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- An Example showing "Appendix any type support proforma" specification
III.1	WSDL definition example
This appendix illustrates an WSDL example containing an user-defined data type which has an element of type "any" and an operation part using this user-defined data type, 
which could be used to show the format of "Appendix any type support proforma". We define a service to find a person’s location through his/her name (together with country) or ID number. 
Here is the WSDL definition:
-->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" 
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
	xmlns:y="http://new.webservice.namespace" 
	targetNamespace="http://new.webservice.namespace">
	<types>
		<schema targetNamespace="http://new.webservice.namespace" xmlns="http://www.w3.org/2001/XMLSchema">
			<complexType name="SpecifiedPersonType">
				<sequence>
					<element name="specifiedPerson" type="anyType"/>
					<element name="countryName" type="string"/>
				</sequence>
			</complexType>
			<complexType name="PersonNameType">
				<sequence>
					<element name="surname" type="string"/>
					<element name="firstname" type="string"/>
				</sequence>
			</complexType>
		</schema>
	</types>
	<message name="findPersonRequest">
		<part name="inputPerson" element="" type="y:SpecifiedPersonType"/>
	</message>
	<message name="findPersonResponse">
		<part name="personLocation" element="" type="xs:string"/>
	</message>
	<portType name="findPerson">
		<operation name="findSpecifiedPerson">
			<input message="y:findPersonRequest"/>
			<output message="y:findPersonResponse"/>
		</operation>
	</portType>
	<binding name="findPerson" type="y:findPerson">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="findSpecifiedPerson">
			<soap:operation soapAction="urn:#findSpecifiedObject"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
	</binding> 
	<service name="findPersonService">
		<port name="findPersonPort" binding="y:findPerson">
			<soap:address location="No Target Adress"/>
		</port>
	</service>
</definitions>