reward_station 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/.gitignore +4 -0
  2. data/.rspec +1 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +9 -0
  5. data/LICENSE +0 -0
  6. data/README.md +5 -0
  7. data/Rakefile +5 -0
  8. data/lib/reward_station.rb +1 -0
  9. data/lib/reward_station/version.rb +3 -0
  10. data/lib/wsdl/reward_services.xml +511 -0
  11. data/lib/xceleration/reward_station.rb +122 -0
  12. data/reward_station.gemspec +21 -0
  13. data/spec/fixtures/savon/reward_station/award_points/award_points.xml +12 -0
  14. data/spec/fixtures/savon/reward_station/award_points/award_points_invalid_token.xml +12 -0
  15. data/spec/fixtures/savon/reward_station/return_point_summary/return_point_summary.xml +22 -0
  16. data/spec/fixtures/savon/reward_station/return_point_summary/return_point_summary_invalid_token.xml +12 -0
  17. data/spec/fixtures/savon/reward_station/return_popular_products/return_popular_products.xml +362 -0
  18. data/spec/fixtures/savon/reward_station/return_popular_products/return_popular_products_invalid_token.xml +10 -0
  19. data/spec/fixtures/savon/reward_station/return_token/return_token.xml +10 -0
  20. data/spec/fixtures/savon/reward_station/return_token/return_token_invalid.xml +10 -0
  21. data/spec/fixtures/savon/reward_station/return_user/return_user.xml +35 -0
  22. data/spec/fixtures/savon/reward_station/return_user/return_user_invalid_token.xml +10 -0
  23. data/spec/fixtures/savon/reward_station/return_user/return_user_invalid_user.xml +10 -0
  24. data/spec/fixtures/savon/reward_station/update_user/create_user.xml +34 -0
  25. data/spec/fixtures/savon/reward_station/update_user/create_user_exists.xml +9 -0
  26. data/spec/savon_helper.rb +129 -0
  27. data/spec/spec_helper.rb +18 -0
  28. data/spec/xceleration/reward_station_spec.rb +348 -0
  29. metadata +95 -0
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm ree
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source :rubygems
2
+
3
+ gemspec
4
+
5
+ gem 'savon', '0.9.6'
6
+
7
+ group 'development' do
8
+ gem 'rspec', '2.6.0'
9
+ end
data/LICENSE ADDED
File without changes
@@ -0,0 +1,5 @@
1
+ ### Xceleration Reward Station
2
+
3
+
4
+ ## Basic Usage
5
+
@@ -0,0 +1,5 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new('spec')
@@ -0,0 +1 @@
1
+ require 'xceleration/reward_station'
@@ -0,0 +1,3 @@
1
+ module RewardStation
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,511 @@
1
+ <wsdl:definitions targetNamespace="http://rswebservices.rewardstation.com/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://rswebservices.rewardstation.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
2
+ <wsdl:types>
3
+ <s:schema elementFormDefault="qualified" targetNamespace="http://rswebservices.rewardstation.com/">
4
+ <s:element name="ReturnToken">
5
+ <s:complexType>
6
+ <s:sequence>
7
+ <s:element minOccurs="1" maxOccurs="1" name="AccountNumber" type="s:int"/>
8
+ <s:element minOccurs="0" maxOccurs="1" name="AccountCode" type="s:string"/>
9
+ </s:sequence>
10
+ </s:complexType>
11
+ </s:element>
12
+ <s:element name="ReturnTokenResponse">
13
+ <s:complexType>
14
+ <s:sequence>
15
+ <s:element minOccurs="0" maxOccurs="1" name="ReturnTokenResult" type="tns:WebServiceToken"/>
16
+ </s:sequence>
17
+ </s:complexType>
18
+ </s:element>
19
+ <s:complexType name="WebServiceToken">
20
+ <s:sequence>
21
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
22
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
23
+ </s:sequence>
24
+ </s:complexType>
25
+ <s:element name="AuthenticateUser">
26
+ <s:complexType>
27
+ <s:sequence>
28
+ <s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string"/>
29
+ <s:element minOccurs="0" maxOccurs="1" name="EncryptedPassword" type="s:string"/>
30
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
31
+ </s:sequence>
32
+ </s:complexType>
33
+ </s:element>
34
+ <s:element name="AuthenticateUserResponse">
35
+ <s:complexType>
36
+ <s:sequence>
37
+ <s:element minOccurs="0" maxOccurs="1" name="AuthenticateUserResult" type="tns:AuthenticateUserResult"/>
38
+ </s:sequence>
39
+ </s:complexType>
40
+ </s:element>
41
+ <s:complexType name="AuthenticateUserResult">
42
+ <s:sequence>
43
+ <s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string"/>
44
+ <s:element minOccurs="0" maxOccurs="1" name="EncryptedPassword" type="s:string"/>
45
+ <s:element minOccurs="0" maxOccurs="1" name="UserProfile" type="tns:User"/>
46
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
47
+ </s:sequence>
48
+ </s:complexType>
49
+ <s:complexType name="User">
50
+ <s:sequence>
51
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
52
+ <s:element minOccurs="1" maxOccurs="1" name="ClientID" type="s:int"/>
53
+ <s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string"/>
54
+ <s:element minOccurs="0" maxOccurs="1" name="EncryptedPassword" type="s:string"/>
55
+ <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string"/>
56
+ <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string"/>
57
+ <s:element minOccurs="0" maxOccurs="1" name="AddressOne" type="s:string"/>
58
+ <s:element minOccurs="0" maxOccurs="1" name="AddressTwo" type="s:string"/>
59
+ <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string"/>
60
+ <s:element minOccurs="0" maxOccurs="1" name="StateCode" type="s:string"/>
61
+ <s:element minOccurs="0" maxOccurs="1" name="Province" type="s:string"/>
62
+ <s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string"/>
63
+ <s:element minOccurs="0" maxOccurs="1" name="CountryCode" type="s:string"/>
64
+ <s:element minOccurs="0" maxOccurs="1" name="Phone" type="s:string"/>
65
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string"/>
66
+ <s:element minOccurs="1" maxOccurs="1" name="OrganizationID" type="s:int"/>
67
+ <s:element minOccurs="0" maxOccurs="1" name="OrganizationName" type="s:string"/>
68
+ <s:element minOccurs="1" maxOccurs="1" name="RepTypeID" type="s:int"/>
69
+ <s:element minOccurs="1" maxOccurs="1" name="ClientRegionID" type="s:int"/>
70
+ <s:element minOccurs="1" maxOccurs="1" name="IsActive" type="s:boolean"/>
71
+ <s:element minOccurs="1" maxOccurs="1" name="PointBalance" type="s:int"/>
72
+ <s:element minOccurs="1" maxOccurs="1" name="ManagerID" type="s:int"/>
73
+ <s:element minOccurs="0" maxOccurs="1" name="ManagerName" type="s:string"/>
74
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
75
+ </s:sequence>
76
+ </s:complexType>
77
+ <s:element name="ReturnUser">
78
+ <s:complexType>
79
+ <s:sequence>
80
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
81
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
82
+ </s:sequence>
83
+ </s:complexType>
84
+ </s:element>
85
+ <s:element name="ReturnUserResponse">
86
+ <s:complexType>
87
+ <s:sequence>
88
+ <s:element minOccurs="0" maxOccurs="1" name="ReturnUserResult" type="tns:ReturnUserResult"/>
89
+ </s:sequence>
90
+ </s:complexType>
91
+ </s:element>
92
+ <s:complexType name="ReturnUserResult">
93
+ <s:sequence>
94
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
95
+ <s:element minOccurs="0" maxOccurs="1" name="UserProfile" type="tns:User"/>
96
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
97
+ </s:sequence>
98
+ </s:complexType>
99
+ <s:element name="UpdateUser">
100
+ <s:complexType>
101
+ <s:sequence>
102
+ <s:element minOccurs="0" maxOccurs="1" name="updateUser" type="tns:User"/>
103
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
104
+ </s:sequence>
105
+ </s:complexType>
106
+ </s:element>
107
+ <s:element name="UpdateUserResponse">
108
+ <s:complexType>
109
+ <s:sequence>
110
+ <s:element minOccurs="0" maxOccurs="1" name="UpdateUserResult" type="tns:UpdateUserResult"/>
111
+ </s:sequence>
112
+ </s:complexType>
113
+ </s:element>
114
+ <s:complexType name="UpdateUserResult">
115
+ <s:sequence>
116
+ <s:element minOccurs="0" maxOccurs="1" name="UpdateUser" type="tns:User"/>
117
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
118
+ </s:sequence>
119
+ </s:complexType>
120
+ <s:element name="AwardPoints">
121
+ <s:complexType>
122
+ <s:sequence>
123
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
124
+ <s:element minOccurs="1" maxOccurs="1" name="Points" type="s:int"/>
125
+ <s:element minOccurs="1" maxOccurs="1" name="ProgramID" type="s:int"/>
126
+ <s:element minOccurs="1" maxOccurs="1" name="PointReasonCodeID" type="s:int"/>
127
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string"/>
128
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
129
+ </s:sequence>
130
+ </s:complexType>
131
+ </s:element>
132
+ <s:element name="AwardPointsResponse">
133
+ <s:complexType>
134
+ <s:sequence>
135
+ <s:element minOccurs="0" maxOccurs="1" name="AwardPointsResult" type="tns:AwardPointsResult"/>
136
+ </s:sequence>
137
+ </s:complexType>
138
+ </s:element>
139
+ <s:complexType name="AwardPointsResult">
140
+ <s:sequence>
141
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
142
+ <s:element minOccurs="1" maxOccurs="1" name="Points" type="s:int"/>
143
+ <s:element minOccurs="0" maxOccurs="1" name="ConfirmationNumber" type="s:string"/>
144
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
145
+ </s:sequence>
146
+ </s:complexType>
147
+ <s:element name="ReturnPointSummary">
148
+ <s:complexType>
149
+ <s:sequence>
150
+ <s:element minOccurs="1" maxOccurs="1" name="clientId" type="s:int"/>
151
+ <s:element minOccurs="1" maxOccurs="1" name="activeOnly" type="s:boolean"/>
152
+ <s:element minOccurs="1" maxOccurs="1" name="userId" type="s:int"/>
153
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
154
+ </s:sequence>
155
+ </s:complexType>
156
+ </s:element>
157
+ <s:element name="ReturnPointSummaryResponse">
158
+ <s:complexType>
159
+ <s:sequence>
160
+ <s:element minOccurs="0" maxOccurs="1" name="ReturnPointSummaryResult" type="tns:PointSummaryResult"/>
161
+ </s:sequence>
162
+ </s:complexType>
163
+ </s:element>
164
+ <s:complexType name="PointSummaryResult">
165
+ <s:sequence>
166
+ <s:element minOccurs="1" maxOccurs="1" name="ClientID" type="s:int"/>
167
+ <s:element minOccurs="1" maxOccurs="1" name="ActiveOnly" type="s:boolean"/>
168
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
169
+ <s:element minOccurs="0" maxOccurs="1" name="PointSummaryCollection" type="tns:ArrayOfPointSummary"/>
170
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
171
+ </s:sequence>
172
+ </s:complexType>
173
+ <s:complexType name="ArrayOfPointSummary">
174
+ <s:sequence>
175
+ <s:element minOccurs="0" maxOccurs="unbounded" name="PointSummary" nillable="true" type="tns:PointSummary"/>
176
+ </s:sequence>
177
+ </s:complexType>
178
+ <s:complexType name="PointSummary">
179
+ <s:sequence>
180
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
181
+ <s:element minOccurs="1" maxOccurs="1" name="IsActive" type="s:boolean"/>
182
+ <s:element minOccurs="1" maxOccurs="1" name="PointsEarned" type="s:int"/>
183
+ <s:element minOccurs="1" maxOccurs="1" name="PointsRedeemed" type="s:int"/>
184
+ <s:element minOccurs="1" maxOccurs="1" name="PointsCredited" type="s:int"/>
185
+ <s:element minOccurs="1" maxOccurs="1" name="PointsBalance" type="s:int"/>
186
+ </s:sequence>
187
+ </s:complexType>
188
+ <s:element name="ReturnPopularProducts">
189
+ <s:complexType>
190
+ <s:sequence>
191
+ <s:element minOccurs="1" maxOccurs="1" name="userId" type="s:int"/>
192
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
193
+ </s:sequence>
194
+ </s:complexType>
195
+ </s:element>
196
+ <s:element name="ReturnPopularProductsResponse">
197
+ <s:complexType>
198
+ <s:sequence>
199
+ <s:element minOccurs="0" maxOccurs="1" name="ReturnPopularProductsResult" type="tns:PopularProductsResult"/>
200
+ </s:sequence>
201
+ </s:complexType>
202
+ </s:element>
203
+ <s:complexType name="PopularProductsResult">
204
+ <s:sequence>
205
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
206
+ <s:element minOccurs="0" maxOccurs="1" name="Products" type="tns:ArrayOfProduct"/>
207
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
208
+ </s:sequence>
209
+ </s:complexType>
210
+ <s:complexType name="ArrayOfProduct">
211
+ <s:sequence>
212
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Product" nillable="true" type="tns:Product"/>
213
+ </s:sequence>
214
+ </s:complexType>
215
+ <s:complexType name="Product">
216
+ <s:sequence>
217
+ <s:element minOccurs="0" maxOccurs="1" name="ProductID" type="s:string"/>
218
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"/>
219
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string"/>
220
+ <s:element minOccurs="1" maxOccurs="1" name="Points" type="s:int"/>
221
+ <s:element minOccurs="0" maxOccurs="1" name="Category" type="s:string"/>
222
+ <s:element minOccurs="0" maxOccurs="1" name="Manufacturer" type="s:string"/>
223
+ <s:element minOccurs="0" maxOccurs="1" name="SmallImageURL" type="s:string"/>
224
+ <s:element minOccurs="0" maxOccurs="1" name="LargeImageURL" type="s:string"/>
225
+ </s:sequence>
226
+ </s:complexType>
227
+ <s:element name="ReturnUserQuizzes">
228
+ <s:complexType>
229
+ <s:sequence>
230
+ <s:element minOccurs="1" maxOccurs="1" name="clientId" type="s:int"/>
231
+ <s:element minOccurs="1" maxOccurs="1" name="userId" type="s:int"/>
232
+ <s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string"/>
233
+ </s:sequence>
234
+ </s:complexType>
235
+ </s:element>
236
+ <s:element name="ReturnUserQuizzesResponse">
237
+ <s:complexType>
238
+ <s:sequence>
239
+ <s:element minOccurs="0" maxOccurs="1" name="ReturnUserQuizzesResult" type="tns:UserQuizResult"/>
240
+ </s:sequence>
241
+ </s:complexType>
242
+ </s:element>
243
+ <s:complexType name="UserQuizResult">
244
+ <s:sequence>
245
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
246
+ <s:element minOccurs="0" maxOccurs="1" name="UserQuizCollection" type="tns:ArrayOfUserQuiz"/>
247
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="s:string"/>
248
+ </s:sequence>
249
+ </s:complexType>
250
+ <s:complexType name="ArrayOfUserQuiz">
251
+ <s:sequence>
252
+ <s:element minOccurs="0" maxOccurs="unbounded" name="UserQuiz" nillable="true" type="tns:UserQuiz"/>
253
+ </s:sequence>
254
+ </s:complexType>
255
+ <s:complexType name="UserQuiz">
256
+ <s:sequence>
257
+ <s:element minOccurs="1" maxOccurs="1" name="UserID" type="s:int"/>
258
+ <s:element minOccurs="1" maxOccurs="1" name="QuizID" type="s:int"/>
259
+ <s:element minOccurs="0" maxOccurs="1" name="QuizName" type="s:string"/>
260
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" type="s:dateTime"/>
261
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" type="s:dateTime"/>
262
+ <s:element minOccurs="1" maxOccurs="1" name="MaximumAttempts" type="s:int"/>
263
+ <s:element minOccurs="1" maxOccurs="1" name="TimesAttempted" type="s:int"/>
264
+ <s:element minOccurs="1" maxOccurs="1" name="QuizPassed" type="s:boolean"/>
265
+ <s:element minOccurs="1" maxOccurs="1" name="PointsEarned" type="s:int"/>
266
+ <s:element minOccurs="1" maxOccurs="1" name="AvailableAttempts" type="s:int"/>
267
+ </s:sequence>
268
+ </s:complexType>
269
+ </s:schema>
270
+ </wsdl:types>
271
+ <wsdl:message name="ReturnTokenSoapIn">
272
+ <wsdl:part name="parameters" element="tns:ReturnToken"/>
273
+ </wsdl:message>
274
+ <wsdl:message name="ReturnTokenSoapOut">
275
+ <wsdl:part name="parameters" element="tns:ReturnTokenResponse"/>
276
+ </wsdl:message>
277
+ <wsdl:message name="AuthenticateUserSoapIn">
278
+ <wsdl:part name="parameters" element="tns:AuthenticateUser"/>
279
+ </wsdl:message>
280
+ <wsdl:message name="AuthenticateUserSoapOut">
281
+ <wsdl:part name="parameters" element="tns:AuthenticateUserResponse"/>
282
+ </wsdl:message>
283
+ <wsdl:message name="ReturnUserSoapIn">
284
+ <wsdl:part name="parameters" element="tns:ReturnUser"/>
285
+ </wsdl:message>
286
+ <wsdl:message name="ReturnUserSoapOut">
287
+ <wsdl:part name="parameters" element="tns:ReturnUserResponse"/>
288
+ </wsdl:message>
289
+ <wsdl:message name="UpdateUserSoapIn">
290
+ <wsdl:part name="parameters" element="tns:UpdateUser"/>
291
+ </wsdl:message>
292
+ <wsdl:message name="UpdateUserSoapOut">
293
+ <wsdl:part name="parameters" element="tns:UpdateUserResponse"/>
294
+ </wsdl:message>
295
+ <wsdl:message name="AwardPointsSoapIn">
296
+ <wsdl:part name="parameters" element="tns:AwardPoints"/>
297
+ </wsdl:message>
298
+ <wsdl:message name="AwardPointsSoapOut">
299
+ <wsdl:part name="parameters" element="tns:AwardPointsResponse"/>
300
+ </wsdl:message>
301
+ <wsdl:message name="ReturnPointSummarySoapIn">
302
+ <wsdl:part name="parameters" element="tns:ReturnPointSummary"/>
303
+ </wsdl:message>
304
+ <wsdl:message name="ReturnPointSummarySoapOut">
305
+ <wsdl:part name="parameters" element="tns:ReturnPointSummaryResponse"/>
306
+ </wsdl:message>
307
+ <wsdl:message name="ReturnPopularProductsSoapIn">
308
+ <wsdl:part name="parameters" element="tns:ReturnPopularProducts"/>
309
+ </wsdl:message>
310
+ <wsdl:message name="ReturnPopularProductsSoapOut">
311
+ <wsdl:part name="parameters" element="tns:ReturnPopularProductsResponse"/>
312
+ </wsdl:message>
313
+ <wsdl:message name="ReturnUserQuizzesSoapIn">
314
+ <wsdl:part name="parameters" element="tns:ReturnUserQuizzes"/>
315
+ </wsdl:message>
316
+ <wsdl:message name="ReturnUserQuizzesSoapOut">
317
+ <wsdl:part name="parameters" element="tns:ReturnUserQuizzesResponse"/>
318
+ </wsdl:message>
319
+ <wsdl:portType name="RewardServicesSoap">
320
+ <wsdl:operation name="ReturnToken">
321
+ <wsdl:input message="tns:ReturnTokenSoapIn"/>
322
+ <wsdl:output message="tns:ReturnTokenSoapOut"/>
323
+ </wsdl:operation>
324
+ <wsdl:operation name="AuthenticateUser">
325
+ <wsdl:input message="tns:AuthenticateUserSoapIn"/>
326
+ <wsdl:output message="tns:AuthenticateUserSoapOut"/>
327
+ </wsdl:operation>
328
+ <wsdl:operation name="ReturnUser">
329
+ <wsdl:input message="tns:ReturnUserSoapIn"/>
330
+ <wsdl:output message="tns:ReturnUserSoapOut"/>
331
+ </wsdl:operation>
332
+ <wsdl:operation name="UpdateUser">
333
+ <wsdl:input message="tns:UpdateUserSoapIn"/>
334
+ <wsdl:output message="tns:UpdateUserSoapOut"/>
335
+ </wsdl:operation>
336
+ <wsdl:operation name="AwardPoints">
337
+ <wsdl:input message="tns:AwardPointsSoapIn"/>
338
+ <wsdl:output message="tns:AwardPointsSoapOut"/>
339
+ </wsdl:operation>
340
+ <wsdl:operation name="ReturnPointSummary">
341
+ <wsdl:input message="tns:ReturnPointSummarySoapIn"/>
342
+ <wsdl:output message="tns:ReturnPointSummarySoapOut"/>
343
+ </wsdl:operation>
344
+ <wsdl:operation name="ReturnPopularProducts">
345
+ <wsdl:input message="tns:ReturnPopularProductsSoapIn"/>
346
+ <wsdl:output message="tns:ReturnPopularProductsSoapOut"/>
347
+ </wsdl:operation>
348
+ <wsdl:operation name="ReturnUserQuizzes">
349
+ <wsdl:input message="tns:ReturnUserQuizzesSoapIn"/>
350
+ <wsdl:output message="tns:ReturnUserQuizzesSoapOut"/>
351
+ </wsdl:operation>
352
+ </wsdl:portType>
353
+ <wsdl:binding name="RewardServicesSoap" type="tns:RewardServicesSoap">
354
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
355
+ <wsdl:operation name="ReturnToken">
356
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/ReturnToken" style="document"/>
357
+ <wsdl:input>
358
+ <soap:body use="literal"/>
359
+ </wsdl:input>
360
+ <wsdl:output>
361
+ <soap:body use="literal"/>
362
+ </wsdl:output>
363
+ </wsdl:operation>
364
+ <wsdl:operation name="AuthenticateUser">
365
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/AuthenticateUser" style="document"/>
366
+ <wsdl:input>
367
+ <soap:body use="literal"/>
368
+ </wsdl:input>
369
+ <wsdl:output>
370
+ <soap:body use="literal"/>
371
+ </wsdl:output>
372
+ </wsdl:operation>
373
+ <wsdl:operation name="ReturnUser">
374
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/ReturnUser" style="document"/>
375
+ <wsdl:input>
376
+ <soap:body use="literal"/>
377
+ </wsdl:input>
378
+ <wsdl:output>
379
+ <soap:body use="literal"/>
380
+ </wsdl:output>
381
+ </wsdl:operation>
382
+ <wsdl:operation name="UpdateUser">
383
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/UpdateUser" style="document"/>
384
+ <wsdl:input>
385
+ <soap:body use="literal"/>
386
+ </wsdl:input>
387
+ <wsdl:output>
388
+ <soap:body use="literal"/>
389
+ </wsdl:output>
390
+ </wsdl:operation>
391
+ <wsdl:operation name="AwardPoints">
392
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/AwardPoints" style="document"/>
393
+ <wsdl:input>
394
+ <soap:body use="literal"/>
395
+ </wsdl:input>
396
+ <wsdl:output>
397
+ <soap:body use="literal"/>
398
+ </wsdl:output>
399
+ </wsdl:operation>
400
+ <wsdl:operation name="ReturnPointSummary">
401
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/ReturnPointSummary" style="document"/>
402
+ <wsdl:input>
403
+ <soap:body use="literal"/>
404
+ </wsdl:input>
405
+ <wsdl:output>
406
+ <soap:body use="literal"/>
407
+ </wsdl:output>
408
+ </wsdl:operation>
409
+ <wsdl:operation name="ReturnPopularProducts">
410
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/ReturnPopularProducts" style="document"/>
411
+ <wsdl:input>
412
+ <soap:body use="literal"/>
413
+ </wsdl:input>
414
+ <wsdl:output>
415
+ <soap:body use="literal"/>
416
+ </wsdl:output>
417
+ </wsdl:operation>
418
+ <wsdl:operation name="ReturnUserQuizzes">
419
+ <soap:operation soapAction="http://rswebservices.rewardstation.com/ReturnUserQuizzes" style="document"/>
420
+ <wsdl:input>
421
+ <soap:body use="literal"/>
422
+ </wsdl:input>
423
+ <wsdl:output>
424
+ <soap:body use="literal"/>
425
+ </wsdl:output>
426
+ </wsdl:operation>
427
+ </wsdl:binding>
428
+ <wsdl:binding name="RewardServicesSoap12" type="tns:RewardServicesSoap">
429
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
430
+ <wsdl:operation name="ReturnToken">
431
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/ReturnToken" style="document"/>
432
+ <wsdl:input>
433
+ <soap12:body use="literal"/>
434
+ </wsdl:input>
435
+ <wsdl:output>
436
+ <soap12:body use="literal"/>
437
+ </wsdl:output>
438
+ </wsdl:operation>
439
+ <wsdl:operation name="AuthenticateUser">
440
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/AuthenticateUser" style="document"/>
441
+ <wsdl:input>
442
+ <soap12:body use="literal"/>
443
+ </wsdl:input>
444
+ <wsdl:output>
445
+ <soap12:body use="literal"/>
446
+ </wsdl:output>
447
+ </wsdl:operation>
448
+ <wsdl:operation name="ReturnUser">
449
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/ReturnUser" style="document"/>
450
+ <wsdl:input>
451
+ <soap12:body use="literal"/>
452
+ </wsdl:input>
453
+ <wsdl:output>
454
+ <soap12:body use="literal"/>
455
+ </wsdl:output>
456
+ </wsdl:operation>
457
+ <wsdl:operation name="UpdateUser">
458
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/UpdateUser" style="document"/>
459
+ <wsdl:input>
460
+ <soap12:body use="literal"/>
461
+ </wsdl:input>
462
+ <wsdl:output>
463
+ <soap12:body use="literal"/>
464
+ </wsdl:output>
465
+ </wsdl:operation>
466
+ <wsdl:operation name="AwardPoints">
467
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/AwardPoints" style="document"/>
468
+ <wsdl:input>
469
+ <soap12:body use="literal"/>
470
+ </wsdl:input>
471
+ <wsdl:output>
472
+ <soap12:body use="literal"/>
473
+ </wsdl:output>
474
+ </wsdl:operation>
475
+ <wsdl:operation name="ReturnPointSummary">
476
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/ReturnPointSummary" style="document"/>
477
+ <wsdl:input>
478
+ <soap12:body use="literal"/>
479
+ </wsdl:input>
480
+ <wsdl:output>
481
+ <soap12:body use="literal"/>
482
+ </wsdl:output>
483
+ </wsdl:operation>
484
+ <wsdl:operation name="ReturnPopularProducts">
485
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/ReturnPopularProducts" style="document"/>
486
+ <wsdl:input>
487
+ <soap12:body use="literal"/>
488
+ </wsdl:input>
489
+ <wsdl:output>
490
+ <soap12:body use="literal"/>
491
+ </wsdl:output>
492
+ </wsdl:operation>
493
+ <wsdl:operation name="ReturnUserQuizzes">
494
+ <soap12:operation soapAction="http://rswebservices.rewardstation.com/ReturnUserQuizzes" style="document"/>
495
+ <wsdl:input>
496
+ <soap12:body use="literal"/>
497
+ </wsdl:input>
498
+ <wsdl:output>
499
+ <soap12:body use="literal"/>
500
+ </wsdl:output>
501
+ </wsdl:operation>
502
+ </wsdl:binding>
503
+ <wsdl:service name="RewardServices">
504
+ <wsdl:port name="RewardServicesSoap" binding="tns:RewardServicesSoap">
505
+ <soap:address location="http://rswebservices.rewardstation.net/RewardServices.asmx"/>
506
+ </wsdl:port>
507
+ <wsdl:port name="RewardServicesSoap12" binding="tns:RewardServicesSoap12">
508
+ <soap12:address location="http://rswebservices.rewardstation.net/RewardServices.asmx"/>
509
+ </wsdl:port>
510
+ </wsdl:service>
511
+ </wsdl:definitions>