File: 05_simpleType-restriction.wsdl

package info (click to toggle)
libsoap-wsdl-perl 3.004-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,600 kB
  • sloc: perl: 8,433; xml: 1,769; java: 19; makefile: 15
file content (60 lines) | stat: -rw-r--r-- 1,636 bytes parent folder | download | duplicates (6)
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
<?xml version="1.0"?>
<definitions
	targetNamespace="urn:Test"
	xmlns:tns="urn:Test"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
>
	<types>
		<xsd:schema targetNamespace="urn:Test">
		<xsd:simpleType name="testSimpleType1">
			<xsd:annotation>
				<xsd:documentation>
				SimpleType: Integer between 1 and 9 (Exclusive constrains)
				</xsd:documentation>
			</xsd:annotation>
			<xsd:restriction base="xsd:int">
				<xsd:minExclusive value="0"/>
				<xsd:maxExclusive value="10"/>
			</xsd:restriction>
		</xsd:simpleType>

		</xsd:schema>
	</types>
	<message name="testRequest">
		<part name="testAll" type="tns:testSimpleType1"/>
	</message>
	<message name="testResponse">
		<part name="testAll" type="tns:testSimpleType1"/>
	</message>
	<portType name="testPort">
		<operation name="test">
			<documentation>
				Test-Methode
			</documentation>
			<input message="tns:testRequest"/>
			<output message="tns:testResponse"/>
		</operation>
	</portType>

	<binding type="tns:testPort" name="testBinding">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="test">

		<soap:operation soapAction="test"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
        </operation>
	</binding>
	<service name="testService">
		<port name="testPort" binding="tns:testBinding">
			<soap:address location="http://127.0.0.1/testPort" />
		</port>
	</service>
</definitions>