Class: Virtuozzo::SOAP::Drivers::Resourcem

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/virtuozzo/soap/drivers/resourcem.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://localhost:4646"
Methods =
[
  [ nil,
    "allocate",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "allocate"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "allocateResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "release",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "release"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "releaseResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "set_pool",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "set_pool"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "set_poolResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "get_pool",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "get_pool"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "get_poolResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "add_resource",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "add_resource"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "add_resourceResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "remove_resource",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "remove_resource"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/resourcem", "remove_resourceResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ Resourcem

Returns a new instance of Resourcem.



63
64
65
66
67
68
69
# File 'lib/virtuozzo/soap/drivers/resourcem.rb', line 63

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = Virtuozzo::SOAP::MappingRegistries::Resourcem::EncodedRegistry
  self.literal_mapping_registry = Virtuozzo::SOAP::MappingRegistries::Resourcem::LiteralRegistry
  init_methods
end