Class: Nettica::Stubs::DnsApiAsmxSoap

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/nettica/stubs/netticaDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://www.nettica.com/DNS/DnsApi.asmx"
Methods =
[
  [ "http://www.nettica.com/DNS/DnsApi/GetServiceInfo",
    "getServiceInfo",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "GetServiceInfo"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "GetServiceInfoResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/CreateZone",
    "createZone",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "CreateZone"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "CreateZoneResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/CreateSecondaryZone",
    "createSecondaryZone",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "CreateSecondaryZone"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "CreateSecondaryZoneResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/DeleteZone",
    "deleteZone",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "DeleteZone"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "DeleteZoneResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/ListZones",
    "listZones",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "ListZones"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "ListZonesResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/ListDomain",
    "listDomain",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "ListDomain"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "ListDomainResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/AddRecord",
    "addRecord",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "AddRecord"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "AddRecordResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/UpdateRecord",
    "updateRecord",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "UpdateRecord"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "UpdateRecordResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/DeleteRecord",
    "deleteRecord",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "DeleteRecord"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "DeleteRecordResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.nettica.com/DNS/DnsApi/ApplyTemplate",
    "applyTemplate",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "ApplyTemplate"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.nettica.com/DNS/DnsApi", "ApplyTemplateResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ DnsApiAsmxSoap

Returns a new instance of DnsApiAsmxSoap.



93
94
95
96
97
98
99
# File 'lib/nettica/stubs/netticaDriver.rb', line 93

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