File: test3.wsdl

package info (click to toggle)
mono 4.6.2.7+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 778,148 kB
  • ctags: 914,052
  • sloc: cs: 5,779,509; xml: 2,773,713; ansic: 432,645; sh: 14,749; makefile: 12,361; perl: 2,488; python: 1,434; cpp: 849; asm: 531; sql: 95; sed: 16; php: 1
file content (76 lines) | stat: -rw-r--r-- 2,697 bytes parent folder | download | duplicates (8)
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
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
	targetNamespace="tag:example.org,2007:SomeService"
	xmlns:tns="tag:example.org,2007:SomeService"
	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
	<wsdl:types>
		<xsd:schema targetNamespace="tag:example.org,2007:SomeService">
			<xsd:element name="OperationName.Request">
				<xsd:complexType>
					<xsd:all maxOccurs="1" minOccurs="1">
						<xsd:element ref="tns:isbn" minOccurs="0" maxOccurs="1"/>
						<xsd:element ref="tns:year" minOccurs="0" maxOccurs="1"/>
						<xsd:element ref="tns:semester" minOccurs="0" maxOccurs="1"/>

						<xsd:element ref="tns:author" minOccurs="0" maxOccurs="1"/>
						<xsd:element ref="tns:title" minOccurs="0" maxOccurs="1"/>
					</xsd:all>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="isbn" type="xsd:normalizedString"/>
			<xsd:element name="author" type="xsd:normalizedString"/>
			<xsd:element name="title" type="xsd:normalizedString"/>
			<xsd:element name="year" type="xsd:positiveInteger"/>

			<xsd:element name="semester" type="xsd:positiveInteger"/>
			<xsd:element name="dept" type="xsd:positiveInteger"/>
			<xsd:element name="section" type="xsd:positiveInteger"/>
			<xsd:element name="course" type="xsd:normalizedString"/>
		</xsd:schema>
	</wsdl:types>
	<wsdl:message name="m.OperationName.in">
		<wsdl:part name="a" type='xsd:string'/>
		<wsdl:part name="b" type='xsd:string'/>

		<wsdl:part name="c" type='xsd:string'/>
	</wsdl:message>
	<wsdl:message name="m.OperationName.out">
		<wsdl:part name="out" element="tns:OperationName.Request"/>
	</wsdl:message>
	<wsdl:portType name="pt.GET">
		<wsdl:operation name="OperationName">
			<wsdl:input message="tns:m.OperationName.in"/>
			<wsdl:output message="tns:m.OperationName.out"/>

		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="binding.GET" type="tns:pt.GET">
		<http:binding verb="GET"/>
		<wsdl:operation name="OperationName">
			<http:operation location="/URL/Handler.ashx"/>
			<wsdl:input>
				<http:urlEncoded/>
			</wsdl:input>

			<wsdl:output>
				<mime:content type="text/xml"/>
			</wsdl:output>
			<wsdl:fault name="fault.ExceptionName">
				<wsdl:documentation> Errors occurred! </wsdl:documentation>
			</wsdl:fault>
		</wsdl:operation>
	</wsdl:binding>

	<wsdl:service name="MyService">
<!-- also try commenting out this port -->
		<wsdl:port name="p.GET" binding="tns:binding.GET">
			<http:address location="http://127.0.0.1"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>