Class: Virtuozzo::SOAP::Drivers::Relocator

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

Overview

Relocator

Constant Summary collapse

DefaultEndpointUrl =
"https://localhost:4646"
Methods =
[
  [ nil,
    "migrate_p2v",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "migrate_p2v"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "migrate_p2vResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "calc_env_config",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "calc_env_config"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "calc_env_configResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "migrate_v2p",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "migrate_v2p"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "migrate_v2pResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "migrate_v2v",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "migrate_v2v"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "migrate_v2vResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "move",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "move"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "moveResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "clone",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "clone"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/relocator", "cloneResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ Relocator

Returns a new instance of Relocator.



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

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