-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPlaystationNetworkAPI.wsdl
153 lines (145 loc) · 5.9 KB
/
PlaystationNetworkAPI.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?xml version="1.0" encoding="utf-8"?>
<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="urn:PSN"
targetNamespace="urn:PSN" >
<types>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:PSN">
<xsd:element name="GetProfile">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="psnId" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetProfileResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="GetProfileResult" type="tns:Profile" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="Profile">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="PsnId" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="AvatarSmall" type="xsd:string" />
<xsd:element minOccurs="1" maxOccurs="1" name="Level" nillable="true" type="xsd:int" />
<xsd:element minOccurs="1" maxOccurs="1" name="Progress" nillable="true" type="xsd:int" />
<xsd:element minOccurs="0" maxOccurs="1" name="TrophyCount" type="tns:TrophyCount" />
<xsd:element minOccurs="0" maxOccurs="1" name="PlayedGames" type="tns:ArrayOfPlayedGame" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TrophyCount">
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="Platinum" nillable="true" type="xsd:int" />
<xsd:element minOccurs="1" maxOccurs="1" name="Gold" nillable="true" type="xsd:int" />
<xsd:element minOccurs="1" maxOccurs="1" name="Silver" nillable="true" type="xsd:int" />
<xsd:element minOccurs="1" maxOccurs="1" name="Bronze" nillable="true" type="xsd:int" />
<xsd:element minOccurs="1" maxOccurs="1" name="Total" nillable="true" type="xsd:int" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfPlayedGame">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="PlayedGame" nillable="true" type="tns:PlayedGame" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PlayedGame">
<xsd:complexContent mixed="false">
<xsd:extension base="tns:Game">
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="Progress" nillable="true" type="xsd:int" />
<xsd:element minOccurs="0" maxOccurs="1" name="TrophyCount" type="tns:TrophyCount" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Game">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="Id" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="Title" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="Image" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Profile" nillable="true" type="tns:Profile" />
<xsd:complexType name="OnlineFriend">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="PsnId" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="AvatarSmall" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="Playing" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfOnlineFriends">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="OnlineFriend" nillable="true" type="tns:OnlineFriend" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetOnlineFriendsResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="OnlineFriends" type="tns:ArrayOfOnlineFriends" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="emptyElement">
<xsd:complexType >
<xsd:sequence/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="GetProfileSoapIn">
<part name="parameters" element="tns:GetProfile"/>
</message>
<message name="GetProfileSoapOut">
<part name="parameters" element="tns:GetProfileResponse"/>
</message>
<message name="GetOnlineFriendsSoapIn">
<part name="parameters" element="tns:emptyElement"/>
</message>
<message name="GetOnlineFriendsSoapOut">
<part name="parameters" element="tns:GetOnlineFriendsResponse"/>
</message>
<message name="UserNotFoundFault"/>
<portType name="PlaystationNetworkAPISoap">
<operation name="GetProfile">
<input message="tns:GetProfileSoapIn"/>
<output message="tns:GetProfileSoapOut"/>
<fault name="fault" message="tns:UserNotFoundFault"/>
</operation>
<operation name="GetOnlineFriends">
<input message="tns:GetOnlineFriendsSoapIn"/>
<output message="tns:GetOnlineFriendsSoapOut"/>
</operation>
</portType>
<binding name="PlaystationNetworkAPISoap" type="tns:PlaystationNetworkAPISoap">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetProfile">
<soap:operation soapAction="GetProfile"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="GetOnlineFriends">
<soap:operation soapAction="GetOnlineFriends"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="PlaystationNetworkAPI">
<port name="PlaystationNetworkAPISoap" binding="tns:PlaystationNetworkAPISoap">
<soap:address location="http://psnserverapi.appspot.com/PlaystationNetworkAPI"/>
</port>
</service>
</definitions>