postini 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. data/History.txt +8 -0
  2. data/License.txt +29 -0
  3. data/Manifest.txt +42 -0
  4. data/PostInstall.txt +7 -0
  5. data/README.txt +62 -0
  6. data/Rakefile +4 -0
  7. data/config/hoe.rb +76 -0
  8. data/config/requirements.rb +15 -0
  9. data/lib/postini/api/automatedbatch/AutomatedBatch.rb +1244 -0
  10. data/lib/postini/api/automatedbatch/AutomatedBatchDriver.rb +216 -0
  11. data/lib/postini/api/automatedbatch/AutomatedBatchMappingRegistry.rb +1883 -0
  12. data/lib/postini/api/automatedbatch/AutomatedBatchServiceClient.rb +523 -0
  13. data/lib/postini/api/endpointresolver/EndpointResolver.rb +121 -0
  14. data/lib/postini/api/endpointresolver/EndpointResolverDriver.rb +51 -0
  15. data/lib/postini/api/endpointresolver/EndpointResolverMappingRegistry.rb +268 -0
  16. data/lib/postini/api/endpointresolver/EndpointResolverServiceClient.rb +38 -0
  17. data/lib/postini/api.rb +8 -0
  18. data/lib/postini/domain.rb +65 -0
  19. data/lib/postini/user.rb +125 -0
  20. data/lib/postini/version.rb +9 -0
  21. data/lib/postini.rb +100 -0
  22. data/script/console +10 -0
  23. data/script/destroy +14 -0
  24. data/script/generate +14 -0
  25. data/script/txt2html +82 -0
  26. data/setup.rb +1585 -0
  27. data/spec/domain_spec.rb +36 -0
  28. data/spec/postini_spec.rb +30 -0
  29. data/spec/spec.opts +1 -0
  30. data/spec/spec_helper.rb +10 -0
  31. data/spec/user_spec.rb +12 -0
  32. data/tasks/deployment.rake +34 -0
  33. data/tasks/environment.rake +7 -0
  34. data/tasks/rspec.rake +21 -0
  35. data/tasks/website.rake +17 -0
  36. data/vendor/automatedbatch.wsdl +1721 -0
  37. data/vendor/endpointresolver.wsdl +214 -0
  38. data/website/index.html +88 -0
  39. data/website/index.txt +60 -0
  40. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  41. data/website/stylesheets/screen.css +138 -0
  42. data/website/template.html.erb +55 -0
  43. metadata +117 -0
@@ -0,0 +1,216 @@
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