postini 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/History.txt +4 -0
  2. data/Manifest.txt +12 -26
  3. data/README.txt +11 -4
  4. data/Rakefile +27 -4
  5. data/features/development.feature +13 -0
  6. data/features/step_definitions/common_steps.rb +172 -0
  7. data/features/support/common.rb +29 -0
  8. data/features/support/env.rb +6 -0
  9. data/features/support/matchers.rb +11 -0
  10. data/lib/postini/automated_batch_service.rb +464 -0
  11. data/lib/postini/configuration_check.rb +25 -0
  12. data/lib/postini/endpoint_resolver_service.rb +41 -0
  13. data/lib/postini/endpoints.rb +26 -0
  14. data/lib/postini/exceptions.rb +85 -0
  15. data/lib/postini.rb +74 -102
  16. data/script/console +1 -1
  17. data/script/txt2html +5 -16
  18. data/spec/exceptions_spec.rb +19 -0
  19. data/spec/postini_spec.rb +5 -38
  20. data/spec/rcov.opts +1 -0
  21. data/spec/spec_helper.rb +1 -1
  22. data/tasks/rspec.rake +1 -19
  23. data/vendor/automatedbatch.wsdl +1 -1
  24. metadata +21 -54
  25. data/config/hoe.rb +0 -76
  26. data/config/requirements.rb +0 -15
  27. data/lib/postini/api/automatedbatch/AutomatedBatch.rb +0 -1244
  28. data/lib/postini/api/automatedbatch/AutomatedBatchDriver.rb +0 -216
  29. data/lib/postini/api/automatedbatch/AutomatedBatchMappingRegistry.rb +0 -1883
  30. data/lib/postini/api/automatedbatch/AutomatedBatchServiceClient.rb +0 -523
  31. data/lib/postini/api/endpointresolver/EndpointResolver.rb +0 -121
  32. data/lib/postini/api/endpointresolver/EndpointResolverDriver.rb +0 -51
  33. data/lib/postini/api/endpointresolver/EndpointResolverMappingRegistry.rb +0 -268
  34. data/lib/postini/api/endpointresolver/EndpointResolverServiceClient.rb +0 -38
  35. data/lib/postini/api.rb +0 -8
  36. data/lib/postini/domain.rb +0 -72
  37. data/lib/postini/helpers/attributes.rb +0 -94
  38. data/lib/postini/helpers.rb +0 -13
  39. data/lib/postini/user.rb +0 -91
  40. data/lib/postini/users/aliases.rb +0 -55
  41. data/lib/postini/version.rb +0 -9
  42. data/spec/attribute_helper_spec.rb +0 -47
  43. data/spec/domain_spec.rb +0 -36
  44. data/spec/user_spec.rb +0 -142
  45. data/website/index.html +0 -89
  46. data/website/index.txt +0 -60
  47. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  48. data/website/spam_box.png +0 -0
  49. data/website/stylesheets/screen.css +0 -143
  50. data/website/template.html.erb +0 -56
@@ -1,216 +0,0 @@
1
- require File.dirname(__FILE__) + '/AutomatedBatch.rb'
2
- require File.dirname(__FILE__) + '/AutomatedBatchMappingRegistry.rb'
3
- require 'soap/rpc/driver'
4
-
5
- module Postini::API::AutomatedBatch #:nodoc: all
6
-
7
- class AutomatedBatchPort < ::SOAP::RPC::Driver
8
- Methods = [
9
- [ "",
10
- "test",
11
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "test"]],
12
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "testResponse"]] ],
13
- { :request_style => :document, :request_use => :literal,
14
- :response_style => :document, :response_use => :literal,
15
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::StatusException"=>{:use=>"literal", :namespace=>nil, :name=>"StatusException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
16
- ],
17
- [ "",
18
- "checkauth",
19
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "checkauth"]],
20
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "checkauthResponse"]] ],
21
- { :request_style => :document, :request_use => :literal,
22
- :response_style => :document, :response_use => :literal,
23
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
24
- ],
25
- [ "",
26
- "addalias",
27
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "addalias"]],
28
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "addaliasResponse"]] ],
29
- { :request_style => :document, :request_use => :literal,
30
- :response_style => :document, :response_use => :literal,
31
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
32
- ],
33
- [ "",
34
- "adddomain",
35
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "adddomain"]],
36
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "adddomainResponse"]] ],
37
- { :request_style => :document, :request_use => :literal,
38
- :response_style => :document, :response_use => :literal,
39
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
40
- ],
41
- [ "",
42
- "addorg",
43
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "addorg"]],
44
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "addorgResponse"]] ],
45
- { :request_style => :document, :request_use => :literal,
46
- :response_style => :document, :response_use => :literal,
47
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
48
- ],
49
- [ "",
50
- "adduser",
51
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "adduser"]],
52
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "adduserResponse"]] ],
53
- { :request_style => :document, :request_use => :literal,
54
- :response_style => :document, :response_use => :literal,
55
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
56
- ],
57
- [ "",
58
- "deletealias",
59
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deletealias"]],
60
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deletealiasResponse"]] ],
61
- { :request_style => :document, :request_use => :literal,
62
- :response_style => :document, :response_use => :literal,
63
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
64
- ],
65
- [ "",
66
- "deletedomain",
67
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deletedomain"]],
68
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deletedomainResponse"]] ],
69
- { :request_style => :document, :request_use => :literal,
70
- :response_style => :document, :response_use => :literal,
71
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
72
- ],
73
- [ "",
74
- "deleteorg",
75
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deleteorg"]],
76
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deleteorgResponse"]] ],
77
- { :request_style => :document, :request_use => :literal,
78
- :response_style => :document, :response_use => :literal,
79
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
80
- ],
81
- [ "",
82
- "deleteuser",
83
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deleteuser"]],
84
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "deleteuserResponse"]] ],
85
- { :request_style => :document, :request_use => :literal,
86
- :response_style => :document, :response_use => :literal,
87
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
88
- ],
89
- [ "",
90
- "displaydomain",
91
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displaydomain"]],
92
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displaydomainResponse"]] ],
93
- { :request_style => :document, :request_use => :literal,
94
- :response_style => :document, :response_use => :literal,
95
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
96
- ],
97
- [ "",
98
- "displayorg",
99
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displayorg"]],
100
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displayorgResponse"]] ],
101
- { :request_style => :document, :request_use => :literal,
102
- :response_style => :document, :response_use => :literal,
103
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
104
- ],
105
- [ "",
106
- "displayspool",
107
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displayspool"]],
108
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displayspoolResponse"]] ],
109
- { :request_style => :document, :request_use => :literal,
110
- :response_style => :document, :response_use => :literal,
111
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
112
- ],
113
- [ "",
114
- "displayuser",
115
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displayuser"]],
116
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "displayuserResponse"]] ],
117
- { :request_style => :document, :request_use => :literal,
118
- :response_style => :document, :response_use => :literal,
119
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
120
- ],
121
- [ "",
122
- "getorgreport",
123
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "getorgreport"]],
124
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "getorgreportResponse"]] ],
125
- { :request_style => :document, :request_use => :literal,
126
- :response_style => :document, :response_use => :literal,
127
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
128
- ],
129
- [ "",
130
- "listdomains",
131
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "listdomains"]],
132
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "listdomainsResponse"]] ],
133
- { :request_style => :document, :request_use => :literal,
134
- :response_style => :document, :response_use => :literal,
135
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
136
- ],
137
- [ "",
138
- "listorgs",
139
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "listorgs"]],
140
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "listorgsResponse"]] ],
141
- { :request_style => :document, :request_use => :literal,
142
- :response_style => :document, :response_use => :literal,
143
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
144
- ],
145
- [ "",
146
- "listusers",
147
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "listusers"]],
148
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "listusersResponse"]] ],
149
- { :request_style => :document, :request_use => :literal,
150
- :response_style => :document, :response_use => :literal,
151
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
152
- ],
153
- [ "",
154
- "modifydomain",
155
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "modifydomain"]],
156
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "modifydomainResponse"]] ],
157
- { :request_style => :document, :request_use => :literal,
158
- :response_style => :document, :response_use => :literal,
159
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
160
- ],
161
- [ "",
162
- "modifyorg",
163
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "modifyorg"]],
164
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "modifyorgResponse"]] ],
165
- { :request_style => :document, :request_use => :literal,
166
- :response_style => :document, :response_use => :literal,
167
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
168
- ],
169
- [ "",
170
- "modifyuser",
171
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "modifyuser"]],
172
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "modifyuserResponse"]] ],
173
- { :request_style => :document, :request_use => :literal,
174
- :response_style => :document, :response_use => :literal,
175
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
176
- ],
177
- [ "",
178
- "suspenduser",
179
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "suspenduser"]],
180
- ["out", "parameters", ["::SOAP::SOAPElement", "http://postini.com/PSTN/SOAPAPI/v2/automatedbatch", "suspenduserResponse"]] ],
181
- { :request_style => :document, :request_use => :literal,
182
- :response_style => :document, :response_use => :literal,
183
- :faults => {"Postini::API::AutomatedBatch::AuthenticationException"=>{:use=>"literal", :namespace=>nil, :name=>"AuthenticationException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InvalidValueException"=>{:use=>"literal", :namespace=>nil, :name=>"InvalidValueException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::NoSuchKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"NoSuchKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::BatchException"=>{:use=>"literal", :namespace=>nil, :name=>"BatchException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MissingElementException"=>{:use=>"literal", :namespace=>nil, :name=>"MissingElementException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::InternalException"=>{:use=>"literal", :namespace=>nil, :name=>"InternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::UnknownInternalException"=>{:use=>"literal", :namespace=>nil, :name=>"UnknownInternalException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::AdminBlockException"=>{:use=>"literal", :namespace=>nil, :name=>"AdminBlockException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}, "Postini::API::AutomatedBatch::MalformedKeyException"=>{:use=>"literal", :namespace=>nil, :name=>"MalformedKeyException", :encodingstyle=>"document", :ns=>"http://postini.com/PSTN/SOAPAPI/v2/automatedbatch"}} }
184
- ]
185
- ]
186
-
187
- def initialize(endpoint_url)
188
- super(endpoint_url, nil)
189
- self.mapping_registry = AutomatedBatchMappingRegistry::EncodedRegistry
190
- self.literal_mapping_registry = AutomatedBatchMappingRegistry::LiteralRegistry
191
- init_methods
192
- end
193
-
194
- private
195
-
196
- def init_methods
197
- Methods.each do |definitions|
198
- opt = definitions.last
199
- if opt[:request_style] == :document
200
- add_document_operation(*definitions)
201
- else
202
- add_rpc_operation(*definitions)
203
- qname = definitions[0]
204
- name = definitions[2]
205
- if qname.name != name and qname.name.capitalize == name.capitalize
206
- ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
207
- __send__(name, *arg)
208
- end
209
- end
210
- end
211
- end
212
- end
213
- end
214
-
215
-
216
- end