-
Notifications
You must be signed in to change notification settings - Fork 0
/
service.wsdl
83 lines (83 loc) · 3.56 KB
/
service.wsdl
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
82
83
<?xml version="1.0" encoding="UTF-8"?>
<!-- <definitions> must be the root of the WSDL document -->
<wsdl:definitions targetNamespace="http://tempuri.org/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="http://tempuri.org/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<!-- WSDL TYPES: definition of the data types that are used in the web service -->
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="registerRequest">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="username" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="password" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="email" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="registerResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="unbounded" name="user" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<!-- MESSAGES: defines the data being exchanged between the service and client -->
<wsdl:message name="registerSoapIn">
<wsdl:part name="parameters" element="tns:registerRequest"/>
</wsdl:message>
<wsdl:message name="registerSoapOut">
<wsdl:part name="parameters" element="tns:registerResponse"/>
</wsdl:message>
<!-- PORT TYPES: defines the complete communication operation (one way/round trip) -->
<wsdl:portType name="registerSoapPort">
<!-- The operation name must be the same as the one specified in the service object -->
<wsdl:operation name="register">
<wsdl:input message="tns:registerSoapIn"/>
<wsdl:output message="tns:registerSoapOut"/>
</wsdl:operation>
</wsdl:portType>
<!-- BINDING: provides details on how a portType operation will actually be transmitted -->
<wsdl:binding name="registerServiceSoapBinding" type="tns:registerSoapPort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="register">
<soap:operation soapAction="register" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="registerServiceSoap12Binding" type="tns:registerSoapPort">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="register">
<soap12:operation soapAction="register" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<!-- SERVICE: -->
<wsdl:service name="registerService">
<wsdl:port name="registerServiceSoapPort" binding="tns:registerServiceSoapBinding">
<soap:address location="http://localhost:8000/wsdl"/>
</wsdl:port>
<wsdl:port name="registerServiceSoap12Port" binding="tns:registerServiceSoap12Binding">
<soap12:address location="http://localhost:8000/wsdl"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>