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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
|
package Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort;
use strict;
use warnings;
use Class::Std::Fast::Storable;
use Scalar::Util qw(blessed);
use base qw(SOAP::WSDL::Client::Base);
# only load if it hasn't been loaded before
require Net::DashCS::Typemaps::EmergencyProvisioningService
if not Net::DashCS::Typemaps::EmergencyProvisioningService->can('get_class');
sub START {
$_[0]->set_proxy('https://service.dashcs.com/dash-api/soap/emergencyprovisioning/v1') if not $_[2]->{proxy};
$_[0]->set_class_resolver('Net::DashCS::Typemaps::EmergencyProvisioningService')
if not $_[2]->{class_resolver};
$_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix};
}
sub addLocation {
my ($self, $body, $header) = @_;
die "addLocation must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'addLocation',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::addLocation )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub getAuthenticationCheck {
my ($self, $body, $header) = @_;
die "getAuthenticationCheck must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'getAuthenticationCheck',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::getAuthenticationCheck )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub getProvisionedLocationByURI {
my ($self, $body, $header) = @_;
die "getProvisionedLocationByURI must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'getProvisionedLocationByURI',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::getProvisionedLocationByURI )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub validateLocation {
my ($self, $body, $header) = @_;
die "validateLocation must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'validateLocation',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::validateLocation )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub provisionLocation {
my ($self, $body, $header) = @_;
die "provisionLocation must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'provisionLocation',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::provisionLocation )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub removeURI {
my ($self, $body, $header) = @_;
die "removeURI must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'removeURI',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::removeURI )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub getProvisionedLocationHistoryByURI {
my ($self, $body, $header) = @_;
die "getProvisionedLocationHistoryByURI must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'getProvisionedLocationHistoryByURI',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::getProvisionedLocationHistoryByURI )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub removeLocation {
my ($self, $body, $header) = @_;
die "removeLocation must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'removeLocation',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::removeLocation )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub getURIs {
my ($self, $body, $header) = @_;
die "getURIs must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'getURIs',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::getURIs )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub addPinCode {
my ($self, $body, $header) = @_;
die "addPinCode must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'addPinCode',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::addPinCode )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
sub getLocationsByURI {
my ($self, $body, $header) = @_;
die "getLocationsByURI must be called as object method (\$self is <$self>)" if not blessed($self);
return $self->SUPER::call({
operation => 'getLocationsByURI',
soap_action => '',
style => 'document',
body => {
'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
encodingStyle => '',
parts => [qw( Net::DashCS::Elements::getLocationsByURI )],
},
header => {
},
headerfault => {
}
}, $body, $header);
}
1;
__END__
=pod
=head1 NAME
Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort - SOAP Interface for the EmergencyProvisioningService Web Service
=head1 SYNOPSIS
use Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort;
my $interface = Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort->new();
my $response;
$response = $interface->addLocation();
$response = $interface->getAuthenticationCheck();
$response = $interface->getProvisionedLocationByURI();
$response = $interface->validateLocation();
$response = $interface->provisionLocation();
$response = $interface->removeURI();
$response = $interface->getProvisionedLocationHistoryByURI();
$response = $interface->removeLocation();
$response = $interface->getURIs();
$response = $interface->addPinCode();
$response = $interface->getLocationsByURI();
=head1 DESCRIPTION
SOAP Interface for the EmergencyProvisioningService web service
located at https://staging-service.dashcs.com/dash-api/soap/emergencyprovisioning/v1.
=head1 SERVICE EmergencyProvisioningService
=head2 Port EmergencyProvisioningPort
=head1 METHODS
=head2 General methods
=head3 new
Constructor.
All arguments are forwarded to L<SOAP::WSDL::Client|SOAP::WSDL::Client>.
=head2 SOAP Service methods
Method synopsis is displayed with hash refs as parameters.
The commented class names in the method's parameters denote that objects
of the corresponding class can be passed instead of the marked hash ref.
You may pass any combination of objects, hash and list refs to these
methods, as long as you meet the structure.
List items (i.e. multiple occurences) are not displayed in the synopsis.
You may generally pass a list ref of hash refs (or objects) instead of a hash
ref - this may result in invalid XML if used improperly, though. Note that
SOAP::WSDL always expects list references at maximum depth position.
XML attributes are not displayed in this synopsis and cannot be set using
hash refs. See the respective class' documentation for additional information.
=head3 addLocation
Returns a L<Net::DashCS::Elements::addLocationResponse|Net::DashCS::Elements::addLocationResponse> object.
$response = $interface->addLocation( { # Net::DashCS::Types::addLocation
uri => { # Net::DashCS::Types::uri
callername => $some_value, # string
uri => $some_value, # string
},
location => { # Net::DashCS::Types::location
activatedtime => $some_value, # dateTime
address1 => $some_value, # string
address2 => $some_value, # string
callername => $some_value, # string
comments => $some_value, # string
community => $some_value, # string
customerorderid => $some_value, # string
latitude => $some_value, # double
legacydata => { # Net::DashCS::Types::legacyLocationData
housenumber => $some_value, # string
predirectional => $some_value, # string
streetname => $some_value, # string
suite => $some_value, # string
},
locationid => $some_value, # string
longitude => $some_value, # double
plusfour => $some_value, # string
postalcode => $some_value, # string
state => $some_value, # string
status => { # Net::DashCS::Types::locationStatus
code => $some_value, # locationStatusCode
description => $some_value, # string
},
type => $some_value, # locationType
updatetime => $some_value, # dateTime
},
},,
);
=head3 getAuthenticationCheck
Returns a L<Net::DashCS::Elements::getAuthenticationCheckResponse|Net::DashCS::Elements::getAuthenticationCheckResponse> object.
$response = $interface->getAuthenticationCheck( { # Net::DashCS::Types::getAuthenticationCheck
},,
);
=head3 getProvisionedLocationByURI
Returns a L<Net::DashCS::Elements::getProvisionedLocationByURIResponse|Net::DashCS::Elements::getProvisionedLocationByURIResponse> object.
$response = $interface->getProvisionedLocationByURI( { # Net::DashCS::Types::getProvisionedLocationByURI
uri => $some_value, # string
},,
);
=head3 validateLocation
Returns a L<Net::DashCS::Elements::validateLocationResponse|Net::DashCS::Elements::validateLocationResponse> object.
$response = $interface->validateLocation( { # Net::DashCS::Types::validateLocation
location => { # Net::DashCS::Types::location
activatedtime => $some_value, # dateTime
address1 => $some_value, # string
address2 => $some_value, # string
callername => $some_value, # string
comments => $some_value, # string
community => $some_value, # string
customerorderid => $some_value, # string
latitude => $some_value, # double
legacydata => { # Net::DashCS::Types::legacyLocationData
housenumber => $some_value, # string
predirectional => $some_value, # string
streetname => $some_value, # string
suite => $some_value, # string
},
locationid => $some_value, # string
longitude => $some_value, # double
plusfour => $some_value, # string
postalcode => $some_value, # string
state => $some_value, # string
status => { # Net::DashCS::Types::locationStatus
code => $some_value, # locationStatusCode
description => $some_value, # string
},
type => $some_value, # locationType
updatetime => $some_value, # dateTime
},
},,
);
=head3 provisionLocation
Returns a L<Net::DashCS::Elements::provisionLocationResponse|Net::DashCS::Elements::provisionLocationResponse> object.
$response = $interface->provisionLocation( { # Net::DashCS::Types::provisionLocation
locationid => $some_value, # string
},,
);
=head3 removeURI
Returns a L<Net::DashCS::Elements::removeURIResponse|Net::DashCS::Elements::removeURIResponse> object.
$response = $interface->removeURI( { # Net::DashCS::Types::removeURI
uri => $some_value, # string
},,
);
=head3 getProvisionedLocationHistoryByURI
Returns a L<Net::DashCS::Elements::getProvisionedLocationHistoryByURIResponse|Net::DashCS::Elements::getProvisionedLocationHistoryByURIResponse> object.
$response = $interface->getProvisionedLocationHistoryByURI( { # Net::DashCS::Types::getProvisionedLocationHistoryByURI
uri => $some_value, # string
},,
);
=head3 removeLocation
Returns a L<Net::DashCS::Elements::removeLocationResponse|Net::DashCS::Elements::removeLocationResponse> object.
$response = $interface->removeLocation( { # Net::DashCS::Types::removeLocation
locationid => $some_value, # string
},,
);
=head3 getURIs
Returns a L<Net::DashCS::Elements::getURIsResponse|Net::DashCS::Elements::getURIsResponse> object.
$response = $interface->getURIs( { # Net::DashCS::Types::getURIs
},,
);
=head3 addPinCode
Returns a L<Net::DashCS::Elements::addPinCodeResponse|Net::DashCS::Elements::addPinCodeResponse> object.
$response = $interface->addPinCode( { # Net::DashCS::Types::addPinCode
uri => $some_value, # string
pincode => $some_value, # string
},,
);
=head3 getLocationsByURI
Returns a L<Net::DashCS::Elements::getLocationsByURIResponse|Net::DashCS::Elements::getLocationsByURIResponse> object.
$response = $interface->getLocationsByURI( { # Net::DashCS::Types::getLocationsByURI
uri => $some_value, # string
},,
);
=head1 AUTHOR
Generated by SOAP::WSDL on Wed Mar 31 10:23:39 2010
=cut
|