Class: ChannelAdvisor::MarketplaceAdServiceSOAP::MarketplaceAdServiceSoap

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/channel_advisor/marketplace_ad_service/client.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://api.channeladvisor.com/ChannelAdvisorAPI/v4/MarketplaceAdService.asmx"
Methods =
[
  [ "http://api.channeladvisor.com/webservices/AddMarketplaceAd",
    "addMarketplaceAd",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "AddMarketplaceAd"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "AddMarketplaceAdResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://api.channeladvisor.com/webservices/AddMarketplaceAdForSkuList",
    "addMarketplaceAdForSkuList",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "AddMarketplaceAdForSkuList"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "AddMarketplaceAdForSkuListResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://api.channeladvisor.com/webservices/DeleteMarketplaceAd",
    "deleteMarketplaceAd",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "DeleteMarketplaceAd"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "DeleteMarketplaceAdResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://api.channeladvisor.com/webservices/Ping",
    "ping",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "Ping"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "PingResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ MarketplaceAdServiceSoap


46
47
48
49
50
51
52
# File 'lib/channel_advisor/marketplace_ad_service/client.rb', line 46

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