Class: ChannelAdvisor::ListingServiceSOAP::ListingServiceSoap

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

Constant Summary

DefaultEndpointUrl =
"https://api.channeladvisor.com/ChannelAdvisorAPI/v6/ListingService.asmx"
Methods =
[
  [ "http://api.channeladvisor.com/webservices/WithdrawListings",
    "withdrawListings",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "WithdrawListings"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "WithdrawListingsResponse"]] ],
    { :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

- (ListingServiceSoap) initialize(endpoint_url = nil)

Returns a new instance of ListingServiceSoap



26
27
28
29
30
31
32
# File 'lib/channel_advisor/listing_service/client.rb', line 26

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